summaryrefslogtreecommitdiff
path: root/arch/um
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-22 18:54:30 +0530
committerFelipe Balbi <balbi@ti.com>2015-10-01 12:40:20 -0500
commit76c3727da1e6e2bd5aa012841ea17c7664f0638b (patch)
tree234ee909f73a9bbfc74fac0ce7df5b4bca401c88 /arch/um
parentf349dd3c76039a2b0bf03a11484dd2850868b7e3 (diff)
usb: gadget: amd5536udc: remove unnecessary conditions
The condition checking for irq_registered, regs, mem_region and active are not required as this is the remove function. And we are in the remove means that probe was successful and they can never be NULL at this point of code. It was required in the original code as the remove function was part of the error handler of probe function. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/um')
0 files changed, 0 insertions, 0 deletions