This patch set contains small cleanups for megaraid_sas. Patch 1 adds a new helper megasas_dcmd_timeout() to reduce duplicate code. Patch 2 makes dcmd_timeout_ocr_possible() static. Fanhui Meng (2): scsi: megaraid_sas: Add megasas_dcmd_timeout helper scsi: megaraid_sas: make dcmd_timeout_ocr_possible static drivers/scsi/megaraid/megaraid_sas.h | 2 + drivers/scsi/megaraid/megaraid_sas_base.c | 203 ++++------------------ 2 files changed, 38 insertions(+), 167 deletions(-) -- 2.25.1