igb: fix warning if !CONFIG_IGB_HWMON
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 6 Mar 2014 05:28:06 +0000 (05:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Mar 2014 08:36:55 +0000 (00:36 -0800)
commit9b143d11a43aa7c188d53a996cdc9172e5b4b4b0
treefe447b23e2bd4de324ab10affbabb41003443665
parent72b36727080c712859d4b8b363ae5ddadb81a0d3
igb: fix warning if !CONFIG_IGB_HWMON

Fix warning about code defined but never used if IGB_HWMON not defined.

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_82575.c