oem-ibm: requester: dbus_to_file_handler: Drop unused mctp_fd
```
../oem/ibm/requester/dbus_to_file_handler.hpp:83:9: error: private field 'mctp_fd' is not used [-Werror,-Wunused-private-field]
83 | int mctp_fd;
| ^
```
Change-Id: I03751463e91b5f62c1e60c1ef47c22dcfcc20215
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/oem/ibm/requester/dbus_to_file_handler.cpp b/oem/ibm/requester/dbus_to_file_handler.cpp
index b90690e..26d3e32 100644
--- a/oem/ibm/requester/dbus_to_file_handler.cpp
+++ b/oem/ibm/requester/dbus_to_file_handler.cpp
@@ -23,12 +23,12 @@
"xyz.openbmc_project.Common.Progress.OperationStatus.Failed";
DbusToFileHandler::DbusToFileHandler(
- int mctp_fd, uint8_t mctp_eid, pldm::InstanceIdDb* instanceIdDb,
+ int /* mctp_fd */, uint8_t mctp_eid, pldm::InstanceIdDb* instanceIdDb,
sdbusplus::message::object_path resDumpCurrentObjPath,
pldm::requester::Handler<pldm::requester::Request>* handler) :
- mctp_fd(mctp_fd),
- mctp_eid(mctp_eid), instanceIdDb(instanceIdDb),
- resDumpCurrentObjPath(resDumpCurrentObjPath), handler(handler)
+ mctp_eid(mctp_eid),
+ instanceIdDb(instanceIdDb), resDumpCurrentObjPath(resDumpCurrentObjPath),
+ handler(handler)
{}
void DbusToFileHandler::sendNewFileAvailableCmd(uint64_t fileSize)
diff --git a/oem/ibm/requester/dbus_to_file_handler.hpp b/oem/ibm/requester/dbus_to_file_handler.hpp
index dbf3406..3af116d 100644
--- a/oem/ibm/requester/dbus_to_file_handler.hpp
+++ b/oem/ibm/requester/dbus_to_file_handler.hpp
@@ -79,9 +79,6 @@
/** @brief method to get the acf file contents */
std::string getAcfFileContent();
- /** @brief fd of MCTP communications socket */
- int mctp_fd;
-
/** @brief MCTP EID of host firmware */
uint8_t mctp_eid;