kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] libertas: cleanup a variable name
@ 2015-11-26 12:04 Dan Carpenter
  2015-11-30 12:58 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Carpenter @ 2015-11-26 12:04 UTC (permalink / raw)
  To: Kalle Valo; +Cc: libertas-dev, linux-wireless, kernel-janitors

"&card->priv->driver_lock" and "&priv->driver_lock" are the same and
it's nicer to use the shorter one consistently.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

diff --git a/drivers/net/wireless/marvell/libertas/if_sdio.c b/drivers/net/wireless/marvell/libertas/if_sdio.c
index 33ceda2..68fd3a9 100644
--- a/drivers/net/wireless/marvell/libertas/if_sdio.c
+++ b/drivers/net/wireless/marvell/libertas/if_sdio.c
@@ -228,7 +228,7 @@ static int if_sdio_handle_cmd(struct if_sdio_card *card,
 	memcpy(priv->resp_buf[i], buffer, size);
 	lbs_notify_command_response(priv, i);
 
-	spin_unlock_irqrestore(&card->priv->driver_lock, flags);
+	spin_unlock_irqrestore(&priv->driver_lock, flags);
 
 	ret = 0;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: libertas: cleanup a variable name
  2015-11-26 12:04 [patch] libertas: cleanup a variable name Dan Carpenter
@ 2015-11-30 12:58 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2015-11-30 12:58 UTC (permalink / raw)
  To: Dan Carpenter; +Cc: libertas-dev, linux-wireless, kernel-janitors


> "&card->priv->driver_lock" and "&priv->driver_lock" are the same and
> it's nicer to use the shorter one consistently.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>

Thanks, applied to wireless-drivers-next.git.

Kalle Valo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-30 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-26 12:04 [patch] libertas: cleanup a variable name Dan Carpenter
2015-11-30 12:58 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).