diff options
author | Jesse Brandeburg <jesse.brandeburg@intel.com> | 2010-05-13 17:25:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-14 12:06:18 +0200 |
commit | 2a2ec45ddeedaddb9ff8cb98eab7d4f85f44df4a (patch) | |
tree | 66f498acfb60c7a1da8a5ff6c617e8f45b820b2a /drivers/net/tsi108_eth.c | |
parent | drivers/net: Remove unnecessary returns from void function()s (diff) | |
download | linux-2a2ec45ddeedaddb9ff8cb98eab7d4f85f44df4a.tar.xz linux-2a2ec45ddeedaddb9ff8cb98eab7d4f85f44df4a.zip |
e1000: fix WARN_ON with mac-vlan
When adding more than 14 mac-vlan adapters on e1000 the driver
would fire a WARN_ON when adding the 15th. The WARN_ON in this
case is completely un-necessary, as the code below the WARN_ON is
directly handling the value the WARN_ON triggered on.
CC: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tsi108_eth.c')
0 files changed, 0 insertions, 0 deletions