staging: ks7010: separate dissimilar checks
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:45 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:03:36 +0000 (16:03 +0200)
commit482c03c7b5f6d323f333ae59bf1c55ef2e24b1f2
tree0487ada8c3f6d0a2994610bea14e4bd52063587f
parentfa740a9e2e19708bc38993375da671c979082095
staging: ks7010: separate dissimilar checks

Function contains a list of four checks, for no apparent reason two of them
are OR'ed together. Having two OR'ed together and the other two not
implies some connection between the two that are combined. It is
easier to read this code if the four unrelated checks are done as
separate statements.

Move dissimilar expressions out of logical continuation and into
separate statement.

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