e1000e: cleanup: remove unnecessary variable ret_val
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 8 Feb 2012 02:55:25 +0000 (02:55 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 13 Feb 2012 21:18:52 +0000 (13:18 -0800)
commit55920b5eae24cfd2666f3f80bc5f2c0b3b18043b
treea1f72b15fbda67a615174f207d6e7ea12a3d83e0
parentf1a3fe17f9ef0e51c63662b82e9915a693e8e375
e1000e: cleanup: remove unnecessary variable ret_val

ret_val gets initialized to -E1000_ERR_NVM and never set differently, so
get rid of it and just return -E1000_ERR_NVM.

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/ich8lan.c