]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Revert "ixgbe: Fix compiler warnings"
authorStephen Rothwell <sfr@canb.auug.org.au>
Sun, 6 Nov 2011 23:11:37 +0000 (10:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 6 Nov 2011 23:11:37 +0000 (10:11 +1100)
This reverts commit 9487dc844054e1fc691fb82f4e19da337e2ca35e.

drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h

index 4a5d8897faab47ec93358c7a7d16c4b44d983b83..5a7e1eb3359996b5930b0e4cd5808e911b34ed21 100644 (file)
@@ -42,12 +42,10 @@ int ixgbe_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
 int ixgbe_ndo_get_vf_config(struct net_device *netdev,
                            int vf, struct ifla_vf_info *ivi);
 void ixgbe_check_vf_rate_limit(struct ixgbe_adapter *adapter);
-#ifdef CONFIG_PCI_IOV
 void ixgbe_disable_sriov(struct ixgbe_adapter *adapter);
 void ixgbe_enable_sriov(struct ixgbe_adapter *adapter,
                        const struct ixgbe_info *ii);
 int ixgbe_check_vf_assignment(struct ixgbe_adapter *adapter);
-#endif
 
 
 #endif /* _IXGBE_SRIOV_H_ */