From 250fd9d285e898040955b5eb8a22bf8940efc4bb Mon Sep 17 00:00:00 2001 From: TC1995 Date: Tue, 17 Aug 2021 14:29:53 +0200 Subject: [PATCH] Removed one useless variable and fixed the logging. --- src/scsi/scsi_ncr5380.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scsi/scsi_ncr5380.c b/src/scsi/scsi_ncr5380.c index 86f6faa7f..e4cb1fcda 100644 --- a/src/scsi/scsi_ncr5380.c +++ b/src/scsi/scsi_ncr5380.c @@ -114,7 +114,7 @@ typedef struct { uint8_t status; uint8_t buffer[512]; uint8_t ext_ram[0x600]; - uint8_t block_count, bufval[512]; + uint8_t block_count; int block_loaded, xfer_complete; int pos, host_pos; @@ -183,7 +183,7 @@ ncr_log(const char *fmt, ...) if (ncr5380_do_log) { va_start(ap, fmt); - ncr_log_ex(fmt, ap); + pclog_ex(fmt, ap); va_end(ap); } }