• R
    igb: fix a compile warning · 46a01698
    RongQing Li 提交于
    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: NRongQing Li <roy.qing.li@gmail.com>
    Acked-by: NGreg Rose <gregory.v.rose@intel.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    46a01698
igb_main.c 192.9 KB