Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1 Commit: 2bfa2e1fecac3d8f8a7786a8171b7c75a48fc6d1 Parent: 5d635ead203f4432eb287ac565eba057e5c4dfe6 Author: Bjorge Dijkstra <[EMAIL PROTECTED]> AuthorDate: Sat Jan 26 00:50:38 2008 +0200 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Thu Jan 31 19:26:52 2008 -0800
rndis_host: Fix sparse warning rndis_unbind and usbnet_cdc_unbind don't return anything. Signed-off-by: Bjorge Dijkstra <[EMAIL PROTECTED]> Signed-off-by: Jussi Kivilinna <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: John W. Linville <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/net/usb/rndis_host.c | 2 +- 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); } /* - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html