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

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

staging: ks7010: avoid one extra level indentation in ks_wlan_hw_rx function



This commit use an and operator in a if condition to avoid one
indentation level which is not needed at all.

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 156f2703
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -494,12 +494,10 @@ static void ks_wlan_hw_rx(struct ks_wlan_private *priv, uint16_t size)
	if (ret)
		netdev_err(priv->net_dev, "write READ_STATUS_REG\n");

	if (atomic_read(&priv->psstatus.confirm_wait)) {
		if (is_hif_conf(event)) {
	if (atomic_read(&priv->psstatus.confirm_wait) && is_hif_conf(event)) {
		netdev_dbg(priv->net_dev, "IS_HIF_CONF true !!\n");
		atomic_dec(&priv->psstatus.confirm_wait);
	}
	}

	tasklet_schedule(&priv->rx_bh_task);
}