From: Ilya Dryomov Date: Tue, 13 Oct 2020 15:23:22 +0000 (+0200) Subject: libceph: drop msg->ack_stamp field X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5cd8da3a1ca2160b8f9c2ff6a96762e66410ea38;p=linux.git libceph: drop msg->ack_stamp field It is set in process_ack() but never used. Signed-off-by: Ilya Dryomov --- diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index b47c7cc4c90a7..6f77e70db855b 100644 --- a/include/linux/ceph/messenger.h +++ b/include/linux/ceph/messenger.h @@ -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; }; diff --git a/net/ceph/messenger.c b/net/ceph/messenger.c index a6d93280d3e9b..29b00b2cecaca 100644 --- a/net/ceph/messenger.c +++ b/net/ceph/messenger.c @@ -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); }