]> www.infradead.org Git - users/jedix/linux-maple.git/commit
igb: fix warning about unused function
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 28 Jan 2012 08:10:35 +0000 (08:10 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 13:07:32 +0000 (21:07 +0800)
commit536e4455bf3bb60206d87c0f38d484f32348cd6c
tree4b15f67e86c06492c2620e5cc9fe8b42a936a038
parent39bd651dec244fd9d62fe94710b09554157e6aa1
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]

(cherry picked from commit d9dd966d7fc088a6bed991c2b1e2fba4485e0a31)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/igb_main.c