igb: fix warning about unused function
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 28 Jan 2012 08:10:35 +0000 (08:10 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 08:07:39 +0000 (00:07 -0800)
commitd9dd966d7fc088a6bed991c2b1e2fba4485e0a31
treed6e52568caee14d32b6d02a181e229b3991a7ed5
parentf92518ddec7ce0ef2f7e91ae5f07e0a9e19055bf
igb: fix warning about unused function

This patch fixes a warning about unused function when CONFIG_PM_SLEEP
is not selected in the kernel config:

igb_main.c: warning: `igb_suspend` defined but not used [W-unused-function]

Signed-off-by: Emil Tantilov <emil.s.tantilov@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/igb/igb_main.c