[sheepdog] [PATCH v2] sheep: remove unused variable in cluster_make_fs

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Wed Sep 5 01:30:05 CEST 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---

Sorry for noise, please ignore the previous version.


 sheep/ops.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/sheep/ops.c b/sheep/ops.c
index 465d73f..7b25270 100644
--- a/sheep/ops.c
+++ b/sheep/ops.c
@@ -219,7 +219,6 @@ static int cluster_make_fs(const struct sd_req *req, struct sd_rsp *rsp,
 	int i, ret;
 	uint32_t latest_epoch;
 	uint64_t created_time;
-	struct siocb iocb = { 0 };
 	struct store_driver *driver;
 	char *store_name = data;
 
@@ -229,7 +228,6 @@ static int cluster_make_fs(const struct sd_req *req, struct sd_rsp *rsp,
 
 	sd_store = driver;
 	latest_epoch = get_latest_epoch();
-	iocb.epoch = latest_epoch;
 
 	ret = sd_store->format();
 	if (ret != SD_RES_SUCCESS)
-- 
1.7.2.5




More information about the sheepdog mailing list