summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-22 16:24:30 +0300
committerFelipe Balbi <balbi@ti.com>2015-10-01 20:40:20 +0300
commit76c3727da1e6e2bd5aa012841ea17c7664f0638b (patch)
tree234ee909f73a9bbfc74fac0ce7df5b4bca401c88 /kernel
parentf349dd3c76039a2b0bf03a11484dd2850868b7e3 (diff)
downloadlinux-76c3727da1e6e2bd5aa012841ea17c7664f0638b.tar.xz
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 'kernel')
0 files changed, 0 insertions, 0 deletions