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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -235,7 +235,6 @@ struct ceph_msg {
	bool more_to_follow;
	bool needs_out_seq;
	int front_alloc_len;
	unsigned long ack_stamp;        /* tx: when we were acked */

	struct ceph_msgpool *pool;
};
+0 −1
Original line number Diff line number Diff line
@@ -2279,7 +2279,6 @@ static void process_ack(struct ceph_connection *con)
			break;
		dout("got ack for seq %llu type %d at %p\n", seq,
		     le16_to_cpu(m->hdr.type), m);
		m->ack_stamp = jiffies;
		ceph_msg_remove(m);
	}