Repository navigation
Commit 1064e94
[BNX2]: simplify parameter checks in bnx2_{get,set}_eeprom
Remove the superfluous parameter checking in bnx2_{get,set}_eeprom.
The parameters are already validated in ethtool_{get,set}_eeprom.
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent b6cbc3b commit 1064e94
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4800 | 4800 | | |
4801 | 4801 | | |
4802 | 4802 | | |
4803 | | - | |
4804 | | - | |
4805 | | - | |
4806 | | - | |
4807 | | - | |
| 4803 | + | |
4808 | 4804 | | |
4809 | 4805 | | |
4810 | 4806 | | |
| |||
4818 | 4814 | | |
4819 | 4815 | | |
4820 | 4816 | | |
4821 | | - | |
4822 | | - | |
4823 | | - | |
4824 | | - | |
4825 | | - | |
| 4817 | + | |
4826 | 4818 | | |
4827 | 4819 | | |
4828 | 4820 | | |
| |||
0 commit comments