staging: ks7010: avoid use of brackets in single line if

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>
This commit is contained in:
Sergio Paracuellos
2018-04-24 15:49:54 +02:00
committed by Greg Kroah-Hartman
parent 9cfd8837ae
commit cb3f0b4b42

View 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