From: Don Brace Date: Wed, 4 Nov 2015 21:50:07 +0000 (-0600) Subject: hpsa: stop zeroing reset_cmds_out and ioaccel_cmds_out during rescan X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55d95d39b70fa391d609927242f55307d5536b17;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git hpsa: stop zeroing reset_cmds_out and ioaccel_cmds_out during rescan pulling the rug out from under the reset handler likewise for ioaccel_cmds_out Reviewed-by: Hannes Reinecke Reviewed-by: Tomas Henzl Signed-off-by: Don Brace Signed-off-by: Martin K. Petersen --- diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 815dc7f65079..4085401c97d8 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -3671,8 +3671,6 @@ static void hpsa_get_ioaccel_drive_info(struct ctlr_info *h, DRIVE_CMDS_RESERVED_FOR_FW; else dev->queue_depth = DRIVE_QUEUE_DEPTH; /* conservative */ - atomic_set(&dev->ioaccel_cmds_out, 0); - atomic_set(&dev->reset_cmds_out, 0); } static void hpsa_get_path_info(struct hpsa_scsi_dev_t *this_device,