igb: don't read eicr when responding to legacy interrupts
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 6 Feb 2009 23:20:49 +0000 (23:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Feb 2009 10:43:13 +0000 (02:43 -0800)
commit4a3c6433e48592f260278966742a99e0d77de3cc
tree351ea20c007219590823a6b27e1fbc93f10fe26a
parent28b0759c224cad4ae8f5ed47f5af862dd2d1e1ed
igb: don't read eicr when responding to legacy interrupts

The interrupt handler was reading eicr and then doing nothing with the
result.  I have removed the variable and the register read since they
provide no value to the legacy interrupt handler.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c