summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBjorge Dijkstra <bjd@jooz.net>2008-01-26 00:50:38 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:26:52 -0800
commit2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1 (patch)
treea235c59908906094534f6255b7d4d9ab7d6a7949 /drivers
parent5d635ead203f4432eb287ac565eba057e5c4dfe6 (diff)
downloadop-kernel-dev-2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1.zip
op-kernel-dev-2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1.tar.gz
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 1ebe325..96ef6a9 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);
}
/*
OpenPOWER on IntegriCloud