summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2017-01-12 13:43:47 +0000
committerDavid S. Miller <davem@davemloft.net>2017-01-12 11:09:18 -0500
commit37c9782c7306efcc831f7c989c0b7ab040956089 (patch)
tree449dbc477497852ccd5ca4a8f92868904a22d098 /drivers
parent4d7b9dc1f36a99423a6171d393040165fb135530 (diff)
downloadlinux-stable-37c9782c7306efcc831f7c989c0b7ab040956089.tar.gz
linux-stable-37c9782c7306efcc831f7c989c0b7ab040956089.tar.bz2
linux-stable-37c9782c7306efcc831f7c989c0b7ab040956089.zip
cdc-ether: usbnet_cdc_zte_status() can be static
Fixes the following sparse warning: drivers/net/usb/cdc_ether.c:469:6: warning: symbol 'usbnet_cdc_zte_status' was not declared. Should it be static? Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/cdc_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index fe7b2886cb6b..620ba8e530b5 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -466,7 +466,7 @@ static int usbnet_cdc_zte_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
* connected. This causes the link state to be incorrect. Work around this by
* always setting the state to off, then on.
*/
-void usbnet_cdc_zte_status(struct usbnet *dev, struct urb *urb)
+static void usbnet_cdc_zte_status(struct usbnet *dev, struct urb *urb)
{
struct usb_cdc_notification *event;