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

Commit 20358d13 authored by Nick Rosbrook's avatar Nick Rosbrook Committed by Greg Kroah-Hartman
Browse files

staging: ks7010: ks7010_sdio.c: Fixing multiple assignments



Running checkpatch on ks7010_sdio.c shows two locations where
multiple assignment statements are used.

This patch modifies the assignments into single assignments.

Signed-off-by: default avatarNick Rosbrook <nrosbrook@mail.smcvt.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f3f2d351
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -659,10 +659,12 @@ static void ks_sdio_interrupt(struct sdio_func *func)
static int trx_device_init(struct ks_wlan_private *priv)
{
	/* initialize values (tx) */
	priv->tx_dev.qtail = priv->tx_dev.qhead = 0;
	priv->tx_dev.qhead = 0;
	priv->tx_dev.qtail = 0;

	/* initialize values (rx) */
	priv->rx_dev.qtail = priv->rx_dev.qhead = 0;
	priv->rx_dev.qhead = 0;
	priv->rx_dev.qtail = 0;

	/* initialize spinLock (tx,rx) */
	spin_lock_init(&priv->tx_dev.tx_dev_lock);