[SCSI] mpt2sas: Removed compiler warnnings when logging is disabled
commit363fa50fc35357b1361fb63b0726335de993374a
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 12 Nov 2010 22:59:20 +0000 (13 04:29 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:02 +0000 (21 12:24 -0600)
treeb121e3cff170fa11d7caa3a7af64a321aab51043
parent1f768e91e1fcd9f0df657783847347a833fdc573
[SCSI] mpt2sas: Removed compiler warnnings when logging is disabled

The compiler throws warning messages while compiling without
CONFIG_SCSI_MPT2SAS_LOGGING.
Set proper ifdef for CONFIG_SCSI_MPT2SAS_LOGGING to avoid warnnings.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_ctl.c
drivers/scsi/mpt2sas/mpt2sas_scsih.c