From: Wei Yongjun Date: Thu, 12 Jan 2017 13:43:47 +0000 (+0000) Subject: cdc-ether: usbnet_cdc_zte_status() can be static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=37c9782c7306efcc831f7c989c0b7ab040956089;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: David S. Miller --- 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;