Patchwork [net-next] net: asix: ax88772_unbind() can be static

login
register
mail settings
Submitter Wu Fengguang
Date Jan. 19, 2013, 1:36 a.m.
Message ID <20130119013656.GA15200@localhost>
Download mbox | patch
Permalink /patch/213769/
State Accepted
Delegated to: David Miller
Headers show

Comments

Wu Fengguang - Jan. 19, 2013, 1:36 a.m.
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 drivers/net/usb/asix_devices.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - Jan. 19, 2013, 4 p.m.
From: Fengguang Wu <fengguang.wu@intel.com>
Date: Sat, 19 Jan 2013 09:36:56 +0800

> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- linux-next.orig/drivers/net/usb/asix_devices.c	2013-01-19 08:27:36.199070226 +0800
+++ linux-next/drivers/net/usb/asix_devices.c	2013-01-19 09:33:49.567164656 +0800
@@ -502,7 +502,7 @@  static int ax88772_bind(struct usbnet *d
 	return 0;
 }
 
-void ax88772_unbind(struct usbnet *dev, struct usb_interface *intf)
+static void ax88772_unbind(struct usbnet *dev, struct usb_interface *intf)
 {
 	if (dev->driver_priv)
 		kfree(dev->driver_priv);