diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp index bfb41bbe4..20dc79929 100644 --- a/src/device/device_ledger.cpp +++ b/src/device/device_ledger.cpp @@ -322,7 +322,7 @@ namespace hw { } const std::string device_ledger::get_name() const { - if (this->full_name.empty() || !this->connected()) { + if (!this->connected()) { return std::string("name).append(">"); } return this->name; diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index 2f5beb044..9f731cde9 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -85,7 +85,6 @@ namespace hw { //IO hw::io::device_io_hid hw_device; - std::string full_name; unsigned int length_send; unsigned char buffer_send[BUFFER_SEND_SIZE]; unsigned int length_recv;