]> git.baikalelectronics.ru Git - kernel.git/commit
staging: sm750: move assignment out of if cond
authorMichel von Czettritz <michel.von.czettritz@gmail.com>
Thu, 26 Mar 2015 22:27:25 +0000 (23:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:39:33 +0000 (13:39 +0200)
commitd2ef391cd62a22ffc1a3916cbf55e4edc59e0077
tree0a74f4ea01f1ddb3c1a907894f193d2265f03243
parent347d4fad7a76ce9b5cd6de8e6c4481d7c1d1f664
staging: sm750: move assignment out of if cond

This patch moves the assignments from the if conditions to the line before the condition.
The 3 occurrence are return values and the checks for errors.

Signed-off-by: Michel von Czettritz <michel.von.czettritz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c