From e45e2f03cf40b5826632ab95cbc79c487249897a Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Fri, 28 Oct 2016 14:34:25 +0200 Subject: Mark unused commands and remove obsolete code Signed-off-by: Szczepan Zalega --- include/command_id.h | 8 ++++---- include/stick20_commands.h | 3 --- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/include/command_id.h b/include/command_id.h index aa65dd3..9cace2f 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -79,14 +79,14 @@ enum class CommandID : uint8_t { ENABLE_READONLY_UNCRYPTED_LUN = 0x20 + 9, ENABLE_READWRITE_UNCRYPTED_LUN = 0x20 + 10, - SEND_PASSWORD_MATRIX = 0x20 + 11, - SEND_PASSWORD_MATRIX_PINDATA = 0x20 + 12, - SEND_PASSWORD_MATRIX_SETUP = 0x20 + 13, + SEND_PASSWORD_MATRIX = 0x20 + 11, //@unused + SEND_PASSWORD_MATRIX_PINDATA = 0x20 + 12, //@unused + SEND_PASSWORD_MATRIX_SETUP = 0x20 + 13, //@unused GET_DEVICE_STATUS = 0x20 + 14, SEND_DEVICE_STATUS = 0x20 + 15, - SEND_HIDDEN_VOLUME_PASSWORD = 0x20 + 16, + SEND_HIDDEN_VOLUME_PASSWORD = 0x20 + 16, //@unused SEND_HIDDEN_VOLUME_SETUP = 0x20 + 17, SEND_PASSWORD = 0x20 + 18, SEND_NEW_PASSWORD = 0x20 + 19, diff --git a/include/stick20_commands.h b/include/stick20_commands.h index 676b3df..237118d 100644 --- a/include/stick20_commands.h +++ b/include/stick20_commands.h @@ -141,8 +141,6 @@ namespace nitrokey { CommandTransaction; }; -// class FillSDCardWithRandomChars : public PasswordCommand {}; - class FillSDCardWithRandomChars : Command { public: @@ -275,7 +273,6 @@ namespace nitrokey { CommandTransaction; }; - class SendHiddenVolumePassword : public PasswordCommand {}; class SetupHiddenVolume : Command { public: -- cgit v1.2.3