]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mds/SessionMap.h: remove unneeded function 11565/head
authorMichal Jarzabek <stiopa@gmail.com>
Tue, 18 Oct 2016 20:59:03 +0000 (21:59 +0100)
committerMichal Jarzabek <stiopa@gmail.com>
Tue, 18 Oct 2016 20:59:03 +0000 (21:59 +0100)
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
src/mds/SessionMap.h

index ec28e4483bf9e1d6bbdb0d1144fe73fa9ea216e3..a9395e012542f883261806eb00ea2a0c588792ae 100644 (file)
@@ -117,7 +117,7 @@ public:
     projected.pop_front();
   }
 
-  inline int get_state() const {return state;}
+  int get_state() const { return state; }
   void set_state(int new_state)
   {
     if (state != new_state) {
@@ -180,7 +180,6 @@ public:
     return info.get_client();
   }
 
-  int get_state() { return state; }
   const char *get_state_name() const { return get_state_name(state); }
   uint64_t get_state_seq() { return state_seq; }
   bool is_closed() const { return state == STATE_CLOSED; }