From: Bjorge Dijkstra Date: Fri, 25 Jan 2008 22:50:38 +0000 (+0200) Subject: rndis_host: Fix sparse warning X-Git-Tag: v2.6.25-rc1~1089^2~149 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1;p=linux-2.6-omap-h63xx.git rndis_host: Fix sparse warning rndis_unbind and usbnet_cdc_unbind don't return anything. Signed-off-by: Bjorge Dijkstra Signed-off-by: Jussi Kivilinna Acked-by: David Brownell Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index 1ebe3259be0..96ef6a9b311 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c @@ -585,7 +585,7 @@ static void rndis_unbind(struct usbnet *dev, struct usb_interface *intf) kfree(halt); } - return usbnet_cdc_unbind(dev, intf); + usbnet_cdc_unbind(dev, intf); } /*