usb: gadget: udc: pxa25x: remove unnecessary NULL check
authorFelipe Balbi <balbi@ti.com>
Mon, 24 Nov 2014 14:40:01 +0000 (08:40 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 25 Nov 2014 14:47:04 +0000 (08:47 -0600)
commit4db9917b641d18d24932ee2ec95b23a1e26c3f7e
treeefb5b798a3295f21de965fd96fe8c246850131be
parent23fba80a9b1a36654078e29f4df73f07793154fa
usb: gadget: udc: pxa25x: remove unnecessary NULL check

debugfs_remove() is safe against NULL pointers, so
let's remove the unnecessary NULL check before
calling it.

Reviewed-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/pxa25x_udc.c