summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2016-08-24 15:07:26 +0000
committerDavid S. Miller <davem@davemloft.net>2016-08-25 16:42:22 -0700
commitbb40aca7cf153e3e2941140d3850a4b6c4205ccb (patch)
tree4cd3415ed3987d05c9ddacfa18f0807bc1d1893b /drivers
parent0e87203af470d5c169cbe89df4e98ed256107038 (diff)
downloadlinux-stable-bb40aca7cf153e3e2941140d3850a4b6c4205ccb.tar.gz
linux-stable-bb40aca7cf153e3e2941140d3850a4b6c4205ccb.tar.bz2
linux-stable-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')
-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;