Message ID | 20200424113506.12930-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | ded0d399754dbcae7ca0153ba87c68e66021f36a |
Headers | show |
Series | usb: gadget: function: remove redundant assignment to variable 'status' | expand |
diff --git a/drivers/usb/gadget/function/f_eem.c b/drivers/usb/gadget/function/f_eem.c index b81a91d504bd..cfcc4e81fb77 100644 --- a/drivers/usb/gadget/function/f_eem.c +++ b/drivers/usb/gadget/function/f_eem.c @@ -291,8 +291,6 @@ static int eem_bind(struct usb_configuration *c, struct usb_function *f) goto fail; eem->port.out_ep = ep; - status = -ENOMEM; - /* support all relevant hardware speeds... we expect that when * hardware is dual speed, all bulk-capable endpoints work at * both speeds