Skip to content

Commit

Permalink
rndis_host: Fix sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorge Dijkstra authored and David S. Miller committed Feb 1, 2008
1 parent 5d635ea commit 2bfa2e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/usb/rndis_host.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 2bfa2e1

Please sign in to comment.