vmxnet3: fix non static symbol warning
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 24 Aug 2016 15:07:26 +0000 (15:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Aug 2016 23:42:22 +0000 (16:42 -0700)
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>
drivers/net/vmxnet3/vmxnet3_drv.c

index c68fe495d3f9bc86caff19f69257ef48b93ad49b..fc68dd4aec8f95347a2f4b77e578775575d44137 100644 (file)
@@ -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;