]> git.baikalelectronics.ru Git - kernel.git/commit
igb: remove unused temp variable from stats clearing path
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:31:25 +0000 (06:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:16 +0000 (14:59 -0700)
commit2b3bb49a6f7d7c79f701dcf8c3c42d27eb00eab3
tree96af91fe9ed8c7ad3c3b6e1ff51b314aeb93d6b7
parent2b76588fbf709d2482e79ad637cd307a4a18a1b5
igb: remove unused temp variable from stats clearing path

There is a temp variable in the stats clearing path that isn't needed since
the results from the stats read can be immediately discared.  Since it
isn't needed we might as well just drop it from the function call.

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/e1000_82575.c
drivers/net/igb/e1000_mac.c