From 9efac802711f9cada4421ed52339ac46e8c49881 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Tue, 25 Oct 2022 02:41:58 +0200 Subject: [PATCH] scsi_hd: fix notify() method. --- devices/common/scsi/scsi_hd.cpp | 7 +------ devices/common/scsi/scsi_hd.h | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/devices/common/scsi/scsi_hd.cpp b/devices/common/scsi/scsi_hd.cpp index 5bc80da..35b96fd 100644 --- a/devices/common/scsi/scsi_hd.cpp +++ b/devices/common/scsi/scsi_hd.cpp @@ -54,11 +54,6 @@ ScsiHardDisk::ScsiHardDisk(int my_id) : ScsiDevice(my_id) this->hdd_img.seekg(0, std::ios_base::beg); } -void ScsiHardDisk::notify(ScsiMsg msg_type, int param) -{ - LOG_F(INFO, "SCSI_HD: message of type %d received", msg_type); -} - int ScsiHardDisk::test_unit_ready() { if (img_path.empty() || img_path == " ") { return ScsiError::DEV_NOT_READY; @@ -144,4 +139,4 @@ void ScsiHardDisk::rewind() { static const PropMap SCSI_HD_Properties = { {"hdd_img", new StrProperty("")}, {"hdd_wr_prot", new BinProperty(0)}, -}; \ No newline at end of file +}; diff --git a/devices/common/scsi/scsi_hd.h b/devices/common/scsi/scsi_hd.h index e2c1cb1..d8d2d7b 100644 --- a/devices/common/scsi/scsi_hd.h +++ b/devices/common/scsi/scsi_hd.h @@ -66,4 +66,4 @@ protected: char serial_info[8] = {'0', '0', '0', '0', '0', '0', '0', '0'}; }; -#endif \ No newline at end of file +#endif