Skip to content
Commit f4279393 authored by yu kuai's avatar yu kuai Committed by Kalle Valo
Browse files

bcma: remove set but not used variable 'sizel'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/bcma/scan.c: In function ‘bcma_erom_get_addr_desc’:

drivers/bcma/scan.c:222:20: warning: variable ‘sizel’ set but
not used [-Wunused-but-set-variable]

It is never used, and so can be removed.

Fixes: 8369ae33

 ("bcma: add Broadcom specific AMBA bus driver")
Signed-off-by: default avataryu kuai <yukuai3@huawei.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent cb775c88
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