From: Greg Farnum Date: Tue, 11 Nov 2014 00:52:48 +0000 (-0800) Subject: mds: remove dead code from inode_t::compare() X-Git-Tag: v0.89~25^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2894%2Fhead;p=ceph.git mds: remove dead code from inode_t::compare() CID 1251354 Signed-off-by: Greg Farnum --- diff --git a/src/mds/mdstypes.cc b/src/mds/mdstypes.cc index f94042bad9627..119c4ec7152d9 100644 --- a/src/mds/mdstypes.cc +++ b/src/mds/mdstypes.cc @@ -436,9 +436,6 @@ int inode_t::compare(const inode_t &other, bool *divergent) const *divergent = !other.older_is_consistent(*this); return -1; } - assert(0 == "can't have reached this point"); - *divergent = true; - return 0; } bool inode_t::older_is_consistent(const inode_t &other) const