usb: gadget: s3c2410_udc: Move assignment outside if condition
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 22 Aug 2012 10:19:01 +0000 (15:49 +0530)
committerFelipe Balbi <balbi@ti.com>
Fri, 31 Aug 2012 09:41:55 +0000 (12:41 +0300)
commit1660c8944652aac142e622d276c3750f735a568f
tree653992abb8932b627df79d6c9f1b3b1e55726dce
parentff24166c3996a343f3901a47bd5fef6181ac21f9
usb: gadget: s3c2410_udc: Move assignment outside if condition

Fixes the following checkpatch errors:
ERROR: do not use assignment in if condition

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/s3c2410_udc.c