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)
commit61c507cf652da1bc8436bdb909343f33175fd566
tree0a74f4ea01f1ddb3c1a907894f193d2265f03243
parenteb1167a36cdb48ae6328132ad68bf1bdc29339cf
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
This page took 0.024579 seconds and 5 git commands to generate.