From 93111b3a24989bc5de1fee59f758b3ee2f9154f2 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 14 Jan 2020 19:52:13 +0100 Subject: [PATCH] Removed an always true comparison from the NCR 5380 code. --- src/scsi/scsi_ncr5380.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index a2991cce8..c361c2d14 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -430,7 +430,7 @@ ncr_bus_update(void *priv, int bus) ncr_log("Command pos=%i, output data=%02x\n", ncr->command_pos, BUS_GETDATA(bus)); if (ncr->command_pos == cmd_len[(ncr->command[0] >> 5) & 7]) { - if (ncr->msglun >= 0 && ncr->is_msgout) { + if (ncr->is_msgout) { ncr->is_msgout = 0; ncr->command[1] &= ~(0x80 | 0x40 | 0x20); ncr->command[1] |= ncr->msglun << 5;