platform-mc: terminus_manager: Remove unused 'event' field
```
In file included from ../platform-mc/terminus_manager.cpp:1:
../platform-mc/terminus_manager.hpp:211:25: error: private field 'event' is not used [-Werror,-Wunused-private-field]
211 | sdeventplus::Event& event;
| ^
```
Change-Id: Ibcad959ae4c0272aa2f923ca8c5fa3ee292b06e2
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
diff --git a/platform-mc/terminus_manager.hpp b/platform-mc/terminus_manager.hpp
index 2816fb7..42045b8 100644
--- a/platform-mc/terminus_manager.hpp
+++ b/platform-mc/terminus_manager.hpp
@@ -51,12 +51,12 @@
TerminusManager& operator=(TerminusManager&&) = delete;
virtual ~TerminusManager() = default;
- explicit TerminusManager(sdeventplus::Event& event,
+ explicit TerminusManager(sdeventplus::Event& /* event */,
RequesterHandler& handler,
pldm::InstanceIdDb& instanceIdDb,
TerminiMapper& termini, Manager* manager) :
- event(event),
- handler(handler), instanceIdDb(instanceIdDb), termini(termini),
+ handler(handler),
+ instanceIdDb(instanceIdDb), termini(termini),
tidPool(tidPoolSize, false), manager(manager)
{
// DSP0240 v1.1.0 table-8, special value: 0,0xFF = reserved
@@ -206,10 +206,6 @@
exec::task<int> getPLDMCommands(pldm_tid_t tid, uint8_t type,
bitfield8_t* supportedCmds);
- /** @brief Reference to to PLDM daemon's main event loop.
- */
- sdeventplus::Event& event;
-
/** @brief Reference to a Handler object that manages the request/response
* logic.
*/