aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igbvf/vf.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-04-09 22:49:20 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-11 02:55:14 -0700
commit2d165771062cae75de26fe7bc7cb2d937ff6f1b4 (patch)
tree26f21efd85e01630cf8b4b5e1036a3c706a0957f /drivers/net/igbvf/vf.c
parentigb: fix unused external references introduced with sr-iov changes (diff)
downloadlinux-dev-2d165771062cae75de26fe7bc7cb2d937ff6f1b4.tar.xz
linux-dev-2d165771062cae75de26fe7bc7cb2d937ff6f1b4.zip
igbvf: fix unused external references
The igbvbf driver exposed several unused extrnal references due to the fact that code was copied from igb and then some functionality was removed. This changes that so that unused functions are either removed or made static. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igbvf/vf.c')
-rw-r--r--drivers/net/igbvf/vf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/igbvf/vf.c b/drivers/net/igbvf/vf.c
index aa246c93279d..2a4faf9ade69 100644
--- a/drivers/net/igbvf/vf.c
+++ b/drivers/net/igbvf/vf.c
@@ -44,7 +44,7 @@ static s32 e1000_set_vfta_vf(struct e1000_hw *, u16, bool);
* e1000_init_mac_params_vf - Inits MAC params
* @hw: pointer to the HW structure
**/
-s32 e1000_init_mac_params_vf(struct e1000_hw *hw)
+static s32 e1000_init_mac_params_vf(struct e1000_hw *hw)
{
struct e1000_mac_info *mac = &hw->mac;