Fabian Frederick
2014-10-23 16:15:59 UTC
osdmap_epoch is redundant with reassert_epoch and unused.
Signed-off-by: Fabian Frederick <***@skynet.be>
---
net/ceph/osd_client.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index f3fc54e..432bd75 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1700,7 +1700,6 @@ static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
int err;
u32 reassert_epoch;
u64 reassert_version;
- u32 osdmap_epoch;
int already_completed;
u32 bytes;
unsigned int i;
@@ -1725,7 +1724,6 @@ static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
result = ceph_decode_32(&p);
reassert_epoch = ceph_decode_32(&p);
reassert_version = ceph_decode_64(&p);
- osdmap_epoch = ceph_decode_32(&p);
/* lookup */
down_read(&osdc->map_sem);
Signed-off-by: Fabian Frederick <***@skynet.be>
---
net/ceph/osd_client.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c
index f3fc54e..432bd75 100644
--- a/net/ceph/osd_client.c
+++ b/net/ceph/osd_client.c
@@ -1700,7 +1700,6 @@ static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
int err;
u32 reassert_epoch;
u64 reassert_version;
- u32 osdmap_epoch;
int already_completed;
u32 bytes;
unsigned int i;
@@ -1725,7 +1724,6 @@ static void handle_reply(struct ceph_osd_client *osdc, struct ceph_msg *msg,
result = ceph_decode_32(&p);
reassert_epoch = ceph_decode_32(&p);
reassert_version = ceph_decode_64(&p);
- osdmap_epoch = ceph_decode_32(&p);
/* lookup */
down_read(&osdc->map_sem);
--
1.9.3
1.9.3