From d47ac6ce4082651a134a2a4ed1d3564648981cc5 Mon Sep 17 00:00:00 2001 From: Uwe Seimet Date: Sun, 22 Aug 2021 19:21:21 +0200 Subject: [PATCH] Removed unused code --- src/raspberrypi/devices/disk.cpp | 11 ----------- src/raspberrypi/devices/disk.h | 1 - 2 files changed, 12 deletions(-) diff --git a/src/raspberrypi/devices/disk.cpp b/src/raspberrypi/devices/disk.cpp index 4c6ee123..2aa7237c 100644 --- a/src/raspberrypi/devices/disk.cpp +++ b/src/raspberrypi/devices/disk.cpp @@ -2303,17 +2303,6 @@ bool Disk::Assign(const DWORD* /*cdb*/) return CheckReady(); } -//--------------------------------------------------------------------------- -// -// SPECIFY -// -//--------------------------------------------------------------------------- -bool Disk::Specify(const DWORD* /*cdb*/) -{ - // Status check - return CheckReady(); -} - //--------------------------------------------------------------------------- // // START STOP UNIT diff --git a/src/raspberrypi/devices/disk.h b/src/raspberrypi/devices/disk.h index 3d860171..3305f473 100644 --- a/src/raspberrypi/devices/disk.h +++ b/src/raspberrypi/devices/disk.h @@ -192,7 +192,6 @@ public: void Seek6(SASIDEV *); void Seek10(SASIDEV *); bool Assign(const DWORD *cdb); // ASSIGN command - bool Specify(const DWORD *cdb); // SPECIFY command bool StartStop(const DWORD *cdb); // START STOP UNIT command bool SendDiag(const DWORD *cdb); // SEND DIAGNOSTIC command bool Removal(const DWORD *cdb); // PREVENT/ALLOW MEDIUM REMOVAL command