[Sheepdog] [PATCH 1/2] sheep: remove unused code in __fill_obj_list()
Liu Yuan
namei.unix at gmail.com
Fri Sep 16 05:35:23 CEST 2011
From: Liu Yuan <tailai.ly at taobao.com>
Remove it as the comment suggests.
Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
---
sheep/store.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/sheep/store.c b/sheep/store.c
index 992c8f5..34c149e 100644
--- a/sheep/store.c
+++ b/sheep/store.c
@@ -1623,8 +1623,6 @@ static int __fill_obj_list(struct sheepdog_node_list_entry *e, uint32_t epoch,
memset(&hdr, 0, sizeof(hdr));
hdr.opcode = SD_OP_GET_OBJ_LIST;
- /* we don't need to set epoch */
- hdr.epoch = epoch;
hdr.tgt_epoch = epoch - 1;
hdr.flags = 0;
hdr.data_length = rlen;
--
1.7.5.1
More information about the sheepdog
mailing list