diff options
author | YueHaibing <[email protected]> | 2018-11-07 10:22:37 +0800 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2018-11-07 20:19:19 +0100 |
commit | 96c1c58eb0d715d3f66f374bb07aa96cb7cdd1fa (patch) | |
tree | a7caddf3e71cdd89ed942b078692d086e16d6656 /tools/perf/scripts | |
parent | 8fd8cbfeada59d381c49ad700607376416e2fdd8 (diff) |
EDAC, i82975x: Remove set but not used variable dtype
Fix this gcc -Wunused-but-set-variable warning:
drivers/edac/i82975x_edac.c:378:16: warning: variable 'dtype'
set but not used [-Wunused-but-set-variable]
It was introduced in
084a4fccef39 ("edac: move dimm properties to struct dimm_info")
but never used.
Also, remove the function i82975x_dram_type() and move the comment and
the assignment to the place where it is used.
[ bp: massage commit message and shorten comment. ]
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
CC: "Arvind R." <[email protected]>
CC: Mauro Carvalho Chehab <[email protected]>
CC: [email protected]
CC: [email protected]
CC: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions