usb: gadget: udc: lpc32xx: remove unnecessary NULL check
authorFelipe Balbi <balbi@ti.com>
Mon, 24 Nov 2014 14:39:10 +0000 (08:39 -0600)
committerFelipe Balbi <balbi@ti.com>
Tue, 25 Nov 2014 14:46:53 +0000 (08:46 -0600)
commit23fba80a9b1a36654078e29f4df73f07793154fa
treef6fc83732036654f957c80fb40f53530fc666f9c
parent6cd6159d4b1695427105d4b8b2e355e1d0509ff4
usb: gadget: udc: lpc32xx: remove unnecessary NULL check

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

Acked-by: Peter Chen <peter.chen@freeescale.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/lpc32xx_udc.c