diff mbox series

[14/37] zfcp: do not set COMMAND_COMPLETE

Message ID 20201204100140.140863-15-hare@suse.de
State Superseded
Headers show
Series SCSI result handling cleanup, part 1 | expand

Commit Message

Hannes Reinecke Dec. 4, 2020, 10:01 a.m. UTC
COMMAND_COMPLETE is defined as '0', and it is a SCSI parallel message
to boot. So drop the call to set_msg_byte().

Signed-off-by: Hannes Reinecke <hare@suse.de>
---
 drivers/s390/scsi/zfcp_fc.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Benjamin Block Dec. 4, 2020, 1:09 p.m. UTC | #1
On Fri, Dec 04, 2020 at 11:01:17AM +0100, Hannes Reinecke wrote:
> COMMAND_COMPLETE is defined as '0', and it is a SCSI parallel message
> to boot. So drop the call to set_msg_byte().
> 
> Signed-off-by: Hannes Reinecke <hare@suse.de>
> ---
>  drivers/s390/scsi/zfcp_fc.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/s390/scsi/zfcp_fc.h b/drivers/s390/scsi/zfcp_fc.h
> index 6902ae1f8e4f..8aaf409ce9cb 100644
> --- a/drivers/s390/scsi/zfcp_fc.h
> +++ b/drivers/s390/scsi/zfcp_fc.h
> @@ -275,7 +275,6 @@ void zfcp_fc_eval_fcp_rsp(struct fcp_resp_with_ext *fcp_rsp,
>  	u32 sense_len, resid;
>  	u8 rsp_flags;
>  
> -	set_msg_byte(scsi, COMMAND_COMPLETE);
>  	scsi->result |= fcp_rsp->resp.fr_status;
>  
>  	rsp_flags = fcp_rsp->resp.fr_flags;
> -- 
> 2.16.4
> 

Thanks, Hannes.

Acked-by: Benjamin Block <bblock@linux.ibm.com>
diff mbox series

Patch

diff --git a/drivers/s390/scsi/zfcp_fc.h b/drivers/s390/scsi/zfcp_fc.h
index 6902ae1f8e4f..8aaf409ce9cb 100644
--- a/drivers/s390/scsi/zfcp_fc.h
+++ b/drivers/s390/scsi/zfcp_fc.h
@@ -275,7 +275,6 @@  void zfcp_fc_eval_fcp_rsp(struct fcp_resp_with_ext *fcp_rsp,
 	u32 sense_len, resid;
 	u8 rsp_flags;
 
-	set_msg_byte(scsi, COMMAND_COMPLETE);
 	scsi->result |= fcp_rsp->resp.fr_status;
 
 	rsp_flags = fcp_rsp->resp.fr_flags;