From: Jean Delvare Date: Mon, 24 Feb 2014 16:13:58 +0000 (+0100) Subject: i7core_edac: Drop unused variable X-Git-Tag: v3.15-rc1~144^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f118920baf5994dfa8a5a66322892731480a8207;p=pandora-kernel.git 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 Link: http://lkml.kernel.org/r/20140224171358.692d7e5a@endymion.delvare Acked-by: Mauro Carvalho Chehab Cc: Doug Thompson Signed-off-by: Borislav Petkov --- Reading git-diff-tree failed