summaryrefslogtreecommitdiffstats
path: root/drivers/net/vmxnet3/vmxnet3_drv.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-08-24 17:07:26 +0200
committerDavid S. Miller <davem@davemloft.net>2016-08-26 01:42:22 +0200
commitbb40aca7cf153e3e2941140d3850a4b6c4205ccb (patch)
tree4cd3415ed3987d05c9ddacfa18f0807bc1d1893b /drivers/net/vmxnet3/vmxnet3_drv.c
parentibmvnic: fix error return code in ibmvnic_probe() (diff)
downloadlinux-bb40aca7cf153e3e2941140d3850a4b6c4205ccb.tar.xz
linux-bb40aca7cf153e3e2941140d3850a4b6c4205ccb.zip
vmxnet3: fix non static symbol warning
Fixes the following sparse warning: drivers/net/vmxnet3/vmxnet3_drv.c:1645:1: warning: symbol 'vmxnet3_rq_destroy_all_rxdataring' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Shrikrishna Khare <skhare@vmware.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vmxnet3/vmxnet3_drv.c')
-rw-r--r--drivers/net/vmxnet3/vmxnet3_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/vmxnet3/vmxnet3_drv.c b/drivers/net/vmxnet3/vmxnet3_drv.c
index c68fe495d3f9..fc68dd4aec8f 100644
--- a/drivers/net/vmxnet3/vmxnet3_drv.c
+++ b/drivers/net/vmxnet3/vmxnet3_drv.c
@@ -1639,7 +1639,7 @@ static void vmxnet3_rq_destroy(struct vmxnet3_rx_queue *rq,
}
}
-void
+static void
vmxnet3_rq_destroy_all_rxdataring(struct vmxnet3_adapter *adapter)
{
int i;