diff options
author | Jean Delvare <jdelvare@suse.de> | 2014-02-24 17:13:58 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-02-25 10:22:34 +0100 |
commit | f118920baf5994dfa8a5a66322892731480a8207 (patch) | |
tree | 7b17f80ed446a714564e11029aa73c39e3971b51 /drivers/edac/amd64_edac.h | |
parent | 5fdae419009764337c8f2bf143af57dcadfd228d (diff) | |
download | linux-f118920baf5994dfa8a5a66322892731480a8207.tar.bz2 |
i7core_edac: Drop unused variable
Fix the following warning:
drivers/edac/i7core_edac.c: In function "core_mce_output_error":
drivers/edac/i7core_edac.c:1711:8: warning: variable "type" set but not used [-Wunused-but-set-variable]
char *type, *optype, *err;
^
According to Mauro, type can just be dropped, as tp_event now maps if
the error is corrected, uncorrected non-fatal or uncorrected fatal
one.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Link: http://lkml.kernel.org/r/20140224171358.692d7e5a@endymion.delvare
Acked-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.h')
0 files changed, 0 insertions, 0 deletions