diff options
| author | Kashyap, Desai <[email protected]> | 2010-11-12 22:59:20 +0000 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2010-12-21 18:24:02 +0000 |
| commit | 363fa50fc35357b1361fb63b0726335de993374a (patch) | |
| tree | b121e3cff170fa11d7caa3a7af64a321aab51043 /drivers/scsi/mpt2sas/mpt2sas_ctl.c | |
| parent | [SCSI] lpfc 8.3.19: Update lpfc driver version to 8.3.19 (diff) | |
| download | kernel-363fa50fc35357b1361fb63b0726335de993374a.tar.gz kernel-363fa50fc35357b1361fb63b0726335de993374a.zip | |
[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 <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpt2sas_ctl.c')
| -rw-r--r-- | drivers/scsi/mpt2sas/mpt2sas_ctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_ctl.c b/drivers/scsi/mpt2sas/mpt2sas_ctl.c index 40cb8aeb21b1..e92b77af5484 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_ctl.c +++ b/drivers/scsi/mpt2sas/mpt2sas_ctl.c @@ -81,6 +81,7 @@ enum block_state { BLOCKING, }; +#ifdef CONFIG_SCSI_MPT2SAS_LOGGING /** * _ctl_sas_device_find_by_handle - sas device search * @ioc: per adapter object @@ -107,7 +108,6 @@ _ctl_sas_device_find_by_handle(struct MPT2SAS_ADAPTER *ioc, u16 handle) return r; } -#ifdef CONFIG_SCSI_MPT2SAS_LOGGING /** * _ctl_display_some_debug - debug routine * @ioc: per adapter object |
