From: Reddy, Sreekanth Date: Tue, 26 Feb 2013 12:06:12 +0000 (+0530) Subject: mpt2sas: fix for unused variable 'event_data' warning X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e11a0bcbcc750360a5ab6342325380d598ce12f8;p=pandora-kernel.git mpt2sas: fix for unused variable 'event_data' warning commit c3a634bf78242177fba9c85deb709e7b63ed0ef1 upstream. If CONFIG_SCSI_MPT2SAS_LOGGING is undefined, then these warnings are emitted drivers/scsi/mpt2sas/mpt2sas_scsih.c: In function '_scsih_sas_broadcast_primitive_event' drivers/scsi/mpt2sas/mpt2sas_scsih.c:5810:40: warning: unused variable 'event_data' Use pr_info() function instead of dewtprintk(). Signed-off-by: Sreekanth Reddy Signed-off-by: James Bottomley Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed