From: Michal Jarzabek Date: Tue, 18 Oct 2016 20:59:03 +0000 (+0100) Subject: mds/SessionMap.h: remove unneeded function X-Git-Tag: v11.1.0~564^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b06b188e6b98614029dd0676fbb00265f1056cba;p=ceph.git mds/SessionMap.h: remove unneeded function Signed-off-by: Michal Jarzabek --- diff --git a/src/mds/SessionMap.h b/src/mds/SessionMap.h index ec28e4483bf..a9395e01254 100644 --- a/src/mds/SessionMap.h +++ b/src/mds/SessionMap.h @@ -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; }