Commit 5cd8da3a authored by Ilya Dryomov's avatar Ilya Dryomov

libceph: drop msg->ack_stamp field

It is set in process_ack() but never used.
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent d3c1248c
...@@ -235,7 +235,6 @@ struct ceph_msg { ...@@ -235,7 +235,6 @@ struct ceph_msg {
bool more_to_follow; bool more_to_follow;
bool needs_out_seq; bool needs_out_seq;
int front_alloc_len; int front_alloc_len;
unsigned long ack_stamp; /* tx: when we were acked */
struct ceph_msgpool *pool; struct ceph_msgpool *pool;
}; };
......
...@@ -2279,7 +2279,6 @@ static void process_ack(struct ceph_connection *con) ...@@ -2279,7 +2279,6 @@ static void process_ack(struct ceph_connection *con)
break; break;
dout("got ack for seq %llu type %d at %p\n", seq, dout("got ack for seq %llu type %d at %p\n", seq,
le16_to_cpu(m->hdr.type), m); le16_to_cpu(m->hdr.type), m);
m->ack_stamp = jiffies;
ceph_msg_remove(m); ceph_msg_remove(m);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment