[PATCH 25/42] nsp32: do not set message byte

Hannes Reinecke
2021-04-21T17:50:30Z

The message byte always devolves to COMMAND_COMPLETE, so there
is no point in setting it.

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

diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
index abecbcefc382..b75844c76f3a 100644
--- a/drivers/scsi/nsp32.c
+++ b/drivers/scsi/nsp32.c
@@ -1696,7 +1696,6 @@ static int nsp32_busfree_occur(struct scsi_cmnd *SCpnt, unsigned short execph)
nsp32_dbg(NSP32_DEBUG_BUSFREE,
"normal end stat=0x%x resid=0x%x\n",
SCpnt->SCp.Status, scsi_get_resid(SCpnt));
- set_msg_byte(SCpnt, SCpnt->SCp.Message);
set_status_byte(SCpnt, SCpnt->SCp.Status);
nsp32_scsi_done(SCpnt);
/* All operation is done */
--
2.29.2