From: Liu Yuan <[email protected]>

Signed-off-by: Liu Yuan <[email protected]>
---
 include/sheep.h |    9 ---------
 1 file changed, 9 deletions(-)

diff --git a/include/sheep.h b/include/sheep.h
index d37aaa2..337762e 100644
--- a/include/sheep.h
+++ b/include/sheep.h
@@ -57,15 +57,6 @@ static inline void sd_init_req(struct sd_req *req, uint8_t 
opcode)
        req->proto_ver = opcode < 0x80 ? SD_PROTO_VER : SD_SHEEP_PROTO_VER;
 }
 
-static inline int same_node(struct sd_vnode *e, int n1, int n2)
-{
-       if (memcmp(e[n1].nid.addr, e[n2].nid.addr, sizeof(e->nid.addr)) == 0 &&
-           e[n1].nid.port == e[n2].nid.port)
-               return 1;
-
-       return 0;
-}
-
 static inline int same_zone(struct sd_vnode *e, int n1, int n2)
 {
        return e[n1].zone == e[n2].zone;
-- 
1.7.10.2

-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to