From: Josh Durgin Date: Wed, 9 Apr 2014 19:56:34 +0000 (-0700) Subject: auth: remove unused tick() method X-Git-Tag: v0.80-rc1~70^2~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4d3d89bf24fc9f4be60bbb5c649587b445b31923;p=ceph.git auth: remove unused tick() method Signed-off-by: Josh Durgin --- diff --git a/src/auth/AuthClientHandler.h b/src/auth/AuthClientHandler.h index 586479ee3d302..ec86ce875608d 100644 --- a/src/auth/AuthClientHandler.h +++ b/src/auth/AuthClientHandler.h @@ -65,7 +65,6 @@ public: virtual int handle_response(int ret, bufferlist::iterator& iter) = 0; virtual bool build_rotating_request(bufferlist& bl) = 0; - virtual void tick() = 0; virtual AuthAuthorizer *build_authorizer(uint32_t service_id) = 0; diff --git a/src/auth/cephx/CephxClientHandler.h b/src/auth/cephx/CephxClientHandler.h index e5377094b2749..eb0f5b64f11d8 100644 --- a/src/auth/cephx/CephxClientHandler.h +++ b/src/auth/cephx/CephxClientHandler.h @@ -53,8 +53,6 @@ public: bool build_rotating_request(bufferlist& bl); int get_protocol() { return CEPH_AUTH_CEPHX; } - - void tick() {} AuthAuthorizer *build_authorizer(uint32_t service_id); diff --git a/src/auth/none/AuthNoneClientHandler.h b/src/auth/none/AuthNoneClientHandler.h index e2630d9743ea8..d86a02a160218 100644 --- a/src/auth/none/AuthNoneClientHandler.h +++ b/src/auth/none/AuthNoneClientHandler.h @@ -33,8 +33,6 @@ public: int get_protocol() { return CEPH_AUTH_NONE; } - void tick() {} - AuthAuthorizer *build_authorizer(uint32_t service_id) { RWLock::RLocker l(lock); AuthNoneAuthorizer *auth = new AuthNoneAuthorizer(); diff --git a/src/auth/unknown/AuthUnknownClientHandler.h b/src/auth/unknown/AuthUnknownClientHandler.h index bb523db6585d8..ba30eced508ab 100644 --- a/src/auth/unknown/AuthUnknownClientHandler.h +++ b/src/auth/unknown/AuthUnknownClientHandler.h @@ -33,8 +33,6 @@ public: int get_protocol() { return CEPH_AUTH_UNKNOWN; } - void tick() {} - AuthAuthorizer *build_authorizer(uint32_t service_id) { RWLock::RLocker l(lock); AuthUnknownAuthorizer *auth = new AuthUnknownAuthorizer(); diff --git a/src/mon/MonClient.cc b/src/mon/MonClient.cc index fcb622bd495cd..af76476f8ce83 100644 --- a/src/mon/MonClient.cc +++ b/src/mon/MonClient.cc @@ -718,9 +718,6 @@ void MonClient::tick() } } - if (auth) - auth->tick(); - schedule_tick(); }