usb: gadget: mv_udc: remove unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 4 Jan 2012 07:20:09 +0000 (10:20 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 24 Jan 2012 09:31:56 +0000 (11:31 +0200)
commit10800f2ca1a78e24cf92dc5e16a68a9b78f91bbe
tree668e583d8c23f5cd6c97a182014c70881862b754
parentd81f3e4f5792acab5929ef99aad6ca5e21a31a0e
usb: gadget: mv_udc: remove unneeded NULL check

We've dereferenced req already, and we checked for bogus parameters at
the start of the function.

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