Skip to content

Commit

Permalink
libertas: cleanup a variable name
Browse files Browse the repository at this point in the history
"&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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
  • Loading branch information
Dan Carpenter authored and Kalle Valo committed Nov 30, 2015
1 parent 952348a commit 6d91ff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/marvell/libertas/if_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6d91ff7

Please sign in to comment.