brcmfmac: of: remove redundant variable len
authorColin Ian King <colin.i.king@gmail.com>
Mon, 7 Feb 2022 13:33:29 +0000 (13:33 +0000)
committerKalle Valo <kvalo@kernel.org>
Thu, 10 Feb 2022 08:46:48 +0000 (10:46 +0200)
commit2fd6d2ef68607b9da952796c7aab352791daec66
tree9c9d2ca522677bc5d8b9d4ebfe7a7ac470757a52
parentf3c04fffe2717878d032a275f16d1e397402da10
brcmfmac: of: remove redundant variable len

The variable len is being assigned bit is never used. The variable
and the strlen call are redundant and can be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220207133329.336664-1-colin.i.king@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c