diff options
| author | Alan Somers <asomers@FreeBSD.org> | 2016-05-31 23:26:45 +0000 |
|---|---|---|
| committer | Alan Somers <asomers@FreeBSD.org> | 2016-05-31 23:26:45 +0000 |
| commit | 92c6a88b76a7d244a63f233c448bb8a2a3fa250d (patch) | |
| tree | 92dc73992361ab2b3178c5e698cbcd1ef31ba35d /lib/libdevdctl | |
| parent | 5d4447e0b77639e8316208980401aab638ed8246 (diff) | |
Notes
Diffstat (limited to 'lib/libdevdctl')
| -rw-r--r-- | lib/libdevdctl/consumer.cc | 6 | ||||
| -rw-r--r-- | lib/libdevdctl/consumer.h | 12 |
2 files changed, 3 insertions, 15 deletions
diff --git a/lib/libdevdctl/consumer.cc b/lib/libdevdctl/consumer.cc index 6b9822e8c71e4..e769894735998 100644 --- a/lib/libdevdctl/consumer.cc +++ b/lib/libdevdctl/consumer.cc @@ -129,10 +129,10 @@ Consumer::ConnectToDevd() void Consumer::DisconnectFromDevd() { - if (m_devdSockFD != -1) + if (m_devdSockFD != -1) { syslog(LOG_INFO, "Disconnecting from devd."); - - close(m_devdSockFD); + close(m_devdSockFD); + } m_devdSockFD = -1; } diff --git a/lib/libdevdctl/consumer.h b/lib/libdevdctl/consumer.h index 721461e8ae960..0f15b791f53c8 100644 --- a/lib/libdevdctl/consumer.h +++ b/lib/libdevdctl/consumer.h @@ -44,8 +44,6 @@ namespace DevdCtl /*=========================== Forward Declarations ===========================*/ class Event; -class EventBuffer; -class FDReader; /*============================ Class Declarations ============================*/ /*----------------------------- DevdCtl::Consumer ----------------------------*/ @@ -139,16 +137,6 @@ protected: */ int m_devdSockFD; - /** - * Reader tied to the devd socket. - */ - FDReader *m_reader; - - /** - * Default EventBuffer connected to m_reader. - */ - EventBuffer *m_eventBuffer; - EventFactory m_eventFactory; /** Queued events for replay. */ |
