mds/SessionMap.h: remove unneeded function

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
This commit is contained in:
Michal Jarzabek 2016-10-18 21:59:03 +01:00
parent 62d8e60cb6
commit b06b188e6b

View 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; }