mirror of
https://github.com/ceph/ceph
synced 2025-01-19 17:41:39 +00:00
AsyncMessenger: remove unused variables
* remove AsyncMessenger::listen_sd * remove `ee` in KqueueDriver::del_event() Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
parent
c45854a806
commit
c21de4d08a
@ -377,7 +377,7 @@ AsyncMessenger::AsyncMessenger(CephContext *cct, entity_name_t name,
|
||||
: SimplePolicyMessenger(cct, name,mname, _nonce),
|
||||
processor(this, cct, _nonce),
|
||||
lock("AsyncMessenger::lock"),
|
||||
nonce(_nonce), need_addr(true), listen_sd(-1), did_bind(false),
|
||||
nonce(_nonce), need_addr(true), did_bind(false),
|
||||
global_seq(0), deleted_lock("AsyncMessenger::deleted_lock"),
|
||||
cluster_protocol(0), stopped(true)
|
||||
{
|
||||
|
@ -358,7 +358,6 @@ private:
|
||||
* the only writers.
|
||||
*/
|
||||
|
||||
int listen_sd;
|
||||
/**
|
||||
* false; set to true if the AsyncMessenger bound to a specific address;
|
||||
* and set false again by Accepter::stop().
|
||||
|
@ -69,7 +69,6 @@ int KqueueDriver::del_event(int fd, int cur_mask, int delmask)
|
||||
{
|
||||
ldout(cct, 20) << __func__ << " del event fd=" << fd << " cur mask=" << cur_mask
|
||||
<< " delmask=" << delmask << dendl;
|
||||
struct kevent ee;
|
||||
struct kevent ke;
|
||||
int filter = 0;
|
||||
int r = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user