aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_defines.h
diff options
context:
space:
mode:
authorTodd Fujinaka <todd.fujinaka@intel.com>2014-06-04 07:12:15 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-06-11 08:45:48 -0700
commit23d87824de22002b6e073049bb57c97c309e5263 (patch)
tree0228aa26cda27c3a004d732cd7be84fb27054009 /drivers/net/ethernet/intel/igb/e1000_defines.h
parentfarsync: Fix confusion about DMA address and buffer offset types (diff)
downloadlinux-dev-23d87824de22002b6e073049bb57c97c309e5263.tar.xz
linux-dev-23d87824de22002b6e073049bb57c97c309e5263.zip
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.h1
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 11ffdbae9f92..2a8bb35c2df2 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