Staging: iop.c: move assignment out of if () block
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Apr 2015 14:21:59 +0000 (16:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 09:17:54 +0000 (11:17 +0200)
commitd9ca7e929d0825984873c2dd3e0bd9fda82e44be
tree2272405ad4504d4f4e83fbe78d0c8ec61a67ccf0
parentb97c3c1a0b538a61fb1cab057738ccb64ae51e4d
Staging: iop.c: move assignment out of if () block

We should not be doing assignments within an if () block
so fix up the code to not do this.

change was created using Coccinelle.

CC: Supriya Karanth <iskaranth@gmail.com>
CC: Somya Anand <somyaanand214@gmail.com>
CC: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/i2o/iop.c