[SCSI] mpt2sas: Added loadtime para for IOMissingDelay and DMD
[linux-block.git] / drivers / scsi / mpt2sas / mpt2sas_scsih.c
index 1a96a00418a4faed68a77519a49d1bf81e02f6b2..5af5781d9464186f2b2e62dad6e28470afdd1af4 100644 (file)
@@ -2715,9 +2715,10 @@ static u8
 _scsih_sas_control_complete(struct MPT2SAS_ADAPTER *ioc, u16 smid,
     u8 msix_index, u32 reply)
 {
+#ifdef CONFIG_SCSI_MPT2SAS_LOGGING
        Mpi2SasIoUnitControlReply_t *mpi_reply =
            mpt2sas_base_get_reply_virt_addr(ioc, reply);
-
+#endif
        dewtprintk(ioc, printk(MPT2SAS_INFO_FMT
            "sc_complete:handle(0x%04x), (open) "
            "smid(%d), ioc_status(0x%04x), loginfo(0x%08x)\n",