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

Commit 73c742bb authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo
Browse files

brcmfmac: remove redundant assignment to pointer hash



The pointer hash is being initialized with 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>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 0a60e0aa
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1468,7 +1468,6 @@ static int brcmf_msgbuf_stats_read(struct seq_file *seq, void *data)
	seq_printf(seq, "\nh2d_flowrings: depth %u\n",
		   BRCMF_H2D_TXFLOWRING_MAX_ITEM);
	seq_puts(seq, "Active flowrings:\n");
	hash = msgbuf->flow->hash;
	for (i = 0; i < msgbuf->flow->nrofrings; i++) {
		if (!msgbuf->flow->rings[i])
			continue;