diff options
author | Mauro Carvalho Chehab <[email protected]> | 2019-09-13 11:13:41 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2019-09-30 15:41:54 -0300 |
commit | bb66f867812d29a57a9a7d04c43d7f6fb48127ae (patch) | |
tree | 3f8618dd31485c0f6af6d76fc388e5ed1ba89fae /net/switchdev/switchdev.c | |
parent | 1acd05e40cb08cd9cb6d11657df696ed582a3691 (diff) |
EDAC: i5400_edac: get rid of some unused vars
There are several temporary unused vars:
drivers/edac/i5400_edac.c: In function ‘i5400_get_mc_regs’:
drivers/edac/i5400_edac.c:1058:6: warning: variable ‘maxdimmperch’ set but not used [-Wunused-but-set-variable]
1058 | int maxdimmperch;
| ^~~~~~~~~~~~
drivers/edac/i5400_edac.c:1057:6: warning: variable ‘maxch’ set but not used [-Wunused-but-set-variable]
1057 | int maxch;
| ^~~~~
drivers/edac/i5400_edac.c: In function ‘i5400_init_dimms’:
drivers/edac/i5400_edac.c:1174:6: warning: variable ‘max_dimms’ set but not used [-Wunused-but-set-variable]
1174 | int max_dimms;
| ^~~~~~~~~
drivers/edac/i5400_edac.c:1173:14: warning: variable ‘channel_count’ set but not used [-Wunused-but-set-variable]
1173 | int ndimms, channel_count;
| ^~~~~~~~~~~~~
Get rid of them.
Acked-by: Borislav Petkov <[email protected]>
Acked-by: Tony Luck <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions