staging: ks7010: avoid use of brackets in single line if
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 24 Apr 2018 13:49:54 +0000 (15:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Apr 2018 13:50:18 +0000 (15:50 +0200)
Singles if does not need at all to use brackets in its body
so just remove them which is the preferred style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c

index fe19243..b92211f 100644 (file)
@@ -1558,9 +1558,8 @@ void hostif_receive(struct ks_wlan_private *priv, unsigned char *p,
        priv->rxp = p;
        priv->rx_size = size;
 
-       if (get_word(priv) == priv->rx_size) {
+       if (get_word(priv) == priv->rx_size)
                hostif_event_check(priv);
-       }
 }
 
 static