diff options
author | Todd Fujinaka <todd.fujinaka@intel.com> | 2014-06-04 07:12:15 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-06-11 08:45:48 -0700 |
commit | 23d87824de22002b6e073049bb57c97c309e5263 (patch) | |
tree | 0228aa26cda27c3a004d732cd7be84fb27054009 /drivers/net/ethernet/intel/igb/e1000_defines.h | |
parent | 581d9baa21dbd69b5b02cd654d858d064c400769 (diff) | |
download | op-kernel-dev-23d87824de22002b6e073049bb57c97c309e5263.zip op-kernel-dev-23d87824de22002b6e073049bb57c97c309e5263.tar.gz |
igb: unhide invariant returns
Return a 0 directly rather than a constant.
Reported-by: Peter Senna Tschudin <peter.senna@gmail.com>
Signed-off-by: Todd Fujinaka <todd.fujinaka@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_defines.h')
-rw-r--r-- | drivers/net/ethernet/intel/igb/e1000_defines.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_defines.h b/drivers/net/ethernet/intel/igb/e1000_defines.h index 11ffdba..2a8bb35 100644 --- a/drivers/net/ethernet/intel/igb/e1000_defines.h +++ b/drivers/net/ethernet/intel/igb/e1000_defines.h @@ -459,7 +459,6 @@ #define E1000_RAH_POOL_1 0x00040000 /* Error Codes */ -#define E1000_SUCCESS 0 #define E1000_ERR_NVM 1 #define E1000_ERR_PHY 2 #define E1000_ERR_CONFIG 3 |