diff options
author | Mike Lockwood <lockwood@android.com> | 2010-02-18 09:50:28 -0500 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-09-29 17:49:28 -0700 |
commit | 20098313bab5c2949663136ac234274efee1c737 (patch) | |
tree | 2cb3ecbd23c6df70a6ab6ebc2eed5908a5a7a7d3 /drivers/usb | |
parent | 07c478e4d54216222c4fa3a2e9abff072f01854c (diff) |
usb: gadget: u_ether: Remove warning from gether_disconnect()
gether_disconnect() is always called before gether_connect() by the different
USB ethernet functions, so this warning was firing during normal operation.
Change-Id: I178cc7d1f67e9e87ac2e99c6674c4db8fcddf4a0
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/u_ether.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c index 6bb876d65252..efdc8817f77d 100644 --- a/drivers/usb/gadget/u_ether.c +++ b/drivers/usb/gadget/u_ether.c @@ -936,7 +936,6 @@ void gether_disconnect(struct gether *link) struct eth_dev *dev = link->ioport; struct usb_request *req; - WARN_ON(!dev); if (!dev) return; |