usb: musb: gadget: remove redundant condition
authorGeyslan G. Bem <geyslan@gmail.com>
Thu, 10 Dec 2015 20:50:12 +0000 (17:50 -0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Dec 2015 16:07:28 +0000 (10:07 -0600)
commit1a1716260008b16887d72b417bd069ee4220c42e
tree02f4d46daa95629e65c96f820fcbcbeebc469b9f
parentca07099460231576cd7aceed5da47a06cee8063b
usb: musb: gadget: remove redundant condition

This patch removes redundant condition.

 (!A || (A && B)) is the same as (!A || B).

Fixes indentation too.

Tested by: compilation only
Caught by: cppcheck

Signed-off-by: Geyslan G. Bem <geyslan@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c