]> err.no Git - linux-2.6/commitdiff
rndis_host: Fix sparse warning
authorBjorge Dijkstra <bjd@jooz.net>
Fri, 25 Jan 2008 22:50:38 +0000 (00:50 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Feb 2008 03:26:52 +0000 (19:26 -0800)
rndis_unbind and usbnet_cdc_unbind don't return anything.

Signed-off-by: Bjorge Dijkstra <bjd@jooz.net>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rndis_host.c

index 1ebe3259be0d1dd937c9807249b3d657e8ef15a6..96ef6a9b3113e6da2bf165bd1ce967e96dcc38b2 100644 (file)
@@ -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);
 }
 
 /*