]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
e1000e: do not ignore variables which get set a value
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 5 Jan 2013 05:08:31 +0000 (05:08 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 27 Jan 2013 10:08:19 +0000 (02:08 -0800)
commit7dbbe5d5a5073d590790007d5b98d7fd51fd2ff5
tree106a553cf5852a094a2fd73cb65e3153d9de334f
parent1f96012d34670202c135828482fffbf603b4dce0
e1000e: do not ignore variables which get set a value

Static analysis with cppcheck has shown a few instances of a variable which
is assigned a value that is never used.  A number of these are the return
status of various driver function calls which should be passed back to the
caller of the current function.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/80003es2lan.c
drivers/net/ethernet/intel/e1000e/82571.c
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/phy.c