e1000e: cleanup functions that clear hardware statistics
commit99673d9b5d48c81f2e9fe094c0d9e42815c60b3f
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 20 Nov 2009 23:27:21 +0000 (20 23:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Nov 2009 19:34:21 +0000 (21 11:34 -0800)
treee21e8f5149bb8a08497d97c3f0691dc81dbf2ac3
parent3d5e33c9783d3e911e9aef0339663e887044f0df
e1000e: cleanup functions that clear hardware statistics

The e1000_clear_hw_cntrs_*() functions read the registers to clear them.
There is no reason to save the register contents so the temp variable can
be removed.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/82571.c
drivers/net/e1000e/es2lan.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/lib.c