From 6f845193d23c574511ce03395ea8583c3a3009c5 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Sun, 22 Aug 2021 19:44:31 +0200 Subject: [PATCH] Removed unused field cache_wb --- src/raspberrypi/devices/disk.cpp | 3 --- src/raspberrypi/devices/disk.h | 1 - 2 files changed, 4 deletions(-) diff --git a/src/raspberrypi/devices/disk.cpp b/src/raspberrypi/devices/disk.cpp index 2b6a6aa5..5b008f63 100644 --- a/src/raspberrypi/devices/disk.cpp +++ b/src/raspberrypi/devices/disk.cpp @@ -1185,9 +1185,6 @@ Disk::Disk(const std::string id) : BlockDevice(id) disk.dcache = NULL; disk.imgoffset = 0; - // Other - cache_wb = TRUE; - AddCommand(SCSIDEV::eCmdTestUnitReady, "CmdTestUnitReady", &Disk::TestUnitReady); AddCommand(SCSIDEV::eCmdRezero, "CmdRezero", &Disk::Rezero); AddCommand(SCSIDEV::eCmdRequestSense, "CmdRequestSense", &Disk::RequestSense); diff --git a/src/raspberrypi/devices/disk.h b/src/raspberrypi/devices/disk.h index ddd56a82..0d9e8c48 100644 --- a/src/raspberrypi/devices/disk.h +++ b/src/raspberrypi/devices/disk.h @@ -248,7 +248,6 @@ protected: // Internal data disk_t disk; // Internal disk data - BOOL cache_wb; // Cache mode private: void AddCommand(SCSIDEV::scsi_command, const char*, void (Disk::*)(SASIDEV *));