]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[BNX2]: simplify parameter checks in bnx2_{get,set}_eeprom
authorJohn W. Linville <linville@tuxdriver.com>
Thu, 10 Nov 2005 20:58:24 +0000 (12:58 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2005 20:58:24 +0000 (12:58 -0800)
commit1064e944d03eb7a72c0fa11236d5e69cfd877a71
tree719c11a7284a0255cd7875414dd52769b820933f
parentb6cbc3b6fe588c0ea1341d10413e12c2a96a6032
[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>
drivers/net/bnx2.c