usb: gadget: udc: remove bogus NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 25 Nov 2014 15:56:22 +0000 (18:56 +0300)
committerFelipe Balbi <balbi@ti.com>
Mon, 12 Jan 2015 18:13:26 +0000 (12:13 -0600)
commitd71b0d7764a7b018bf73ae44f67dc8545e614eef
tree0c26c83bd5e30f8fb8838a97f3c65a386ac03f3a
parent5e841efef7543209c1d62526311fbbcf85f3613d
usb: gadget: udc: remove bogus NULL check

"ep" isn't NULL here, and static checkers complain because we
dereferenced it on the previous line.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/bdc/bdc_ep.c