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 | |
| parent | 5d4447e0b77639e8316208980401aab638ed8246 (diff) | |
Notes
| -rw-r--r-- | cddl/usr.sbin/zfsd/case_file.cc | 1 | ||||
| -rw-r--r-- | lib/libdevdctl/consumer.cc | 6 | ||||
| -rw-r--r-- | lib/libdevdctl/consumer.h | 12 |
3 files changed, 3 insertions, 16 deletions
diff --git a/cddl/usr.sbin/zfsd/case_file.cc b/cddl/usr.sbin/zfsd/case_file.cc index e7a4eb1be40c..86c74b12230a 100644 --- a/cddl/usr.sbin/zfsd/case_file.cc +++ b/cddl/usr.sbin/zfsd/case_file.cc @@ -83,7 +83,6 @@ using std::setfill; using std::setw; using DevdCtl::Event; -using DevdCtl::EventBuffer; using DevdCtl::EventFactory; using DevdCtl::EventList; using DevdCtl::Guid; diff --git a/lib/libdevdctl/consumer.cc b/lib/libdevdctl/consumer.cc index 6b9822e8c71e..e76989473599 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 721461e8ae96..0f15b791f53c 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. */ |
