e1000e: reduce scope of some variables, remove unnecessary ones
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 6 Jan 2011 07:02:53 +0000 (07:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 24 Jan 2011 08:13:56 +0000 (00:13 -0800)
commit90da06692532541a38f9857972e1fd6b1cdfb45a
treeb57994ef65c615e0cf34a57f692fed67b95f3dd1
parent67fd4fcb78a7ced369a6bd8a131ec8c65ebd2bbb
e1000e: reduce scope of some variables, remove unnecessary ones

Static analysis of the driver code found some variables for which the scope
can be reduced, or remove the variable altogether.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/ich8lan.c
drivers/net/e1000e/lib.c
drivers/net/e1000e/netdev.c
drivers/net/e1000e/phy.c