Commit 60b5b49f authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo

libertas: remove redundant assignment to variable ret

The variable ret is being assigned a value that is never read and is
being re-assigned a little later on. The assignment is redundant and hence
can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Reviewed-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 3b1e0a7b
...@@ -1003,7 +1003,6 @@ static int lbs_add_mesh(struct lbs_private *priv) ...@@ -1003,7 +1003,6 @@ static int lbs_add_mesh(struct lbs_private *priv)
if (priv->mesh_tlv) { if (priv->mesh_tlv) {
sprintf(mesh_wdev->ssid, "mesh"); sprintf(mesh_wdev->ssid, "mesh");
mesh_wdev->mesh_id_up_len = 4; mesh_wdev->mesh_id_up_len = 4;
ret = 1;
} }
mesh_wdev->netdev = mesh_dev; mesh_wdev->netdev = mesh_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment