]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: ks7010: move logic operator to end of line
authorTobin C. Harding <me@tobin.cc>
Mon, 27 Feb 2017 03:14:46 +0000 (14:14 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:05 +0000 (09:17 +0100)
Logic operator (&&) is place at the start of the line. Kernel
standards suggest that logical operators should be placed at the end
of the line.

Move logical operator to the end of the previous line.

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

index 4ce5867113ed83025fdf4ff4ab4ac4e81a45d44e..0e07b83d3fd6ea2b32d9418ba738d6b1c5db0422 100644 (file)
@@ -193,9 +193,9 @@ static int _ks_wlan_hw_power_save(struct ks_wlan_private *priv)
                        atomic_read(&priv->psstatus.snooze_guard),
                        cnt_txqbody(priv));
 
-               if (!atomic_read(&priv->psstatus.confirm_wait)
-                       && !atomic_read(&priv->psstatus.snooze_guard)
-                       && !cnt_txqbody(priv)) {
+               if (!atomic_read(&priv->psstatus.confirm_wait) &&
+                   !atomic_read(&priv->psstatus.snooze_guard) &&
+                   !cnt_txqbody(priv)) {
                        retval =
                                ks7010_sdio_read(priv, INT_PENDING,
                                                &rw_data,