mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 00:39:30 -04:00
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:
committed by
Greg Kroah-Hartman
parent
9cfd8837ae
commit
cb3f0b4b42
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user