summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorge Dijkstra <bjd@jooz.net>2008-01-25 23:50:38 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-01 04:26:52 +0100
commit2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1 (patch)
treea235c59908906094534f6255b7d4d9ab7d6a7949 /drivers
parentAdd another Prism2 card to hostap (diff)
downloadlinux-2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1.tar.xz
linux-2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1.zip
rndis_host: Fix sparse warning
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/usb/rndis_host.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c
index 1ebe3259be0d..96ef6a9b3113 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);
}
/*