usb: gadget: s3c-hsudc: remove redundant condition
authorGeyslan G. Bem <geyslan@gmail.com>
Thu, 10 Dec 2015 20:50:10 +0000 (17:50 -0300)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Dec 2015 16:07:27 +0000 (10:07 -0600)
commitca07099460231576cd7aceed5da47a06cee8063b
tree0c1da48e4830acf3fa75ea9b63bfc014554292ef
parent95ca961c758cd9ce789247098b09c39017637e58
usb: gadget: s3c-hsudc: remove redundant condition

This patch removes redundant condition.

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

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/gadget/udc/s3c-hsudc.c