scsi: ipr: Remove redundant initialization
authorBrian King <brking@linux.vnet.ibm.com>
Wed, 15 Mar 2017 21:58:37 +0000 (16:58 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 16:04:05 +0000 (12:04 -0400)
commit960e96480ee2bff4f09472c64e25f1850bf06470
tree52ac360126c27868b9f3ba19888ea35c68044a90
parent66a0d59cdd12546ddf01d229de28b07ccf6d637f
scsi: ipr: Remove redundant initialization

Removes some code in __ipr_eh_dev_reset which was modifying the ipr_cmd
done function. This should have already been setup at command allocation
time and if its since been changed, it means we are in the ipr_erp*
functions and need to wait for them to complete and don't want to
override that here.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wendy Xiong <wenxiong@linux.vnet.ibm.com>
Tested-by: Wendy Xiong <wenxiong@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ipr.c