diff options
author | Andrew Lunn <andrew@lunn.ch> | 2020-10-31 21:14:17 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-03 03:04:34 +0300 |
commit | a344a1e8532586b4e3ad742c7fd139cdce56a767 (patch) | |
tree | b8cd3066cb16003f88b7ff2223c464eefbb5fb32 /net/ieee802154 | |
parent | 8ed7ec1386b646130d80d017ecd4716f866ea570 (diff) | |
download | linux-a344a1e8532586b4e3ad742c7fd139cdce56a767.tar.xz |
drivers: net: wan: lmc: Fix W=1 set but used variable warnings
drivers/net/wan/lmc/lmc_main.c: In function ‘lmc_ioctl’:
drivers/net/wan/lmc/lmc_main.c:356:25: warning: variable ‘mii’ set but not used [-Wunused-but-set-variable]
356 | u16 mii;
| ^~~
drivers/net/wan/lmc/lmc_main.c:427:25: warning: variable ‘mii’ set but not used [-Wunused-but-set-variable]
427 | u16 mii;
| ^~~
drivers/net/wan/lmc/lmc_main.c: In function ‘lmc_interrupt’:
drivers/net/wan/lmc/lmc_main.c:1188:9: warning: variable ‘firstcsr’ set but not used [-Wunused-but-set-variable]
1188 | u32 firstcsr;
This file has funky indentation, and makes little use of tabs. Keep
with this style in the patch, but that makes checkpatch unhappy.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20201031181417.1081511-1-andrew@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ieee802154')
0 files changed, 0 insertions, 0 deletions