Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb3f0b4b authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Greg Kroah-Hartman
Browse files

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: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9cfd8837
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1558,10 +1558,9 @@ 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
void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)