]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/ethernet/intel/igb/igb_main.c
igb: fix a compile warning
authorRongQing Li <roy.qing.li@gmail.com>
Tue, 18 Oct 2011 22:52:35 +0000 (22:52 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Oct 2011 21:09:40 +0000 (17:09 -0400)
commit46a016985a442b499faa52dff7e74a79f6a22cef
treee0d0634609b6034fe2f8170305e5a8d613290dcc
parent924a4c7d2e962b4e6a8e9ab3aabfd2bb29e5ada9
igb: fix a compile warning

control these three function declarations and
definitions with same macro CONFIG_PCI_IOV

drivers/net/ethernet/intel/igb/igb_main.c:165:
warning: ‘igb_vf_configure’ declared ‘static’ but never defined
drivers/net/ethernet/intel/igb/igb_main.c:166:
warning: ‘igb_find_enabled_vfs’ declared ‘static’ but never defined
drivers/net/ethernet/intel/igb/igb_main.c:167:
warning: ‘igb_check_vf_assignment’ declared ‘static’ but never defined

Signed-off-by: RongQing Li <roy.qing.li@gmail.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/igb/igb_main.c