From: Dan Carpenter Date: Thu, 26 Nov 2015 12:04:49 +0000 (+0300) Subject: libertas: cleanup a variable name X-Git-Tag: v4.14-rc1~3609^2~523^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d91ff7acc903b91488c17d781ebfecbce45285a;p=platform%2Fkernel%2Flinux-rpi.git libertas: cleanup a variable name "&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 Signed-off-by: Kalle Valo --- 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;