]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: ks7010: reduce level of indentation
authorTobin C. Harding <me@tobin.cc>
Mon, 13 Mar 2017 06:38:17 +0000 (17:38 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Mar 2017 22:20:06 +0000 (06:20 +0800)
commitdfd6b480c9e63d520aac932b2ed1a729a1f4a6a6
tree23ba6a079777aacbce6bab54052d97b4f520f2a6
parent034a7178d21381d82dd83330776cff30a707bc00
staging: ks7010: reduce level of indentation

Code is deeply nested. One level of indentation may be removed by
inverting if statement conditional.

Invert conditional, return if new conditional evaluates to true.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c