diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2020-10-13 17:23:22 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2020-12-14 23:21:49 +0100 |
commit | 5cd8da3a1ca2160b8f9c2ff6a96762e66410ea38 (patch) | |
tree | c30d42710658b1945d8d8662d9bf3fd35dc82e40 | |
parent | d3c1248cac2c07153ade346001dea001d8792479 (diff) | |
download | linux-stable-5cd8da3a1ca2160b8f9c2ff6a96762e66410ea38.tar.gz linux-stable-5cd8da3a1ca2160b8f9c2ff6a96762e66410ea38.tar.bz2 linux-stable-5cd8da3a1ca2160b8f9c2ff6a96762e66410ea38.zip |
libceph: drop msg->ack_stamp field
It is set in process_ack() but never used.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
-rw-r--r-- | include/linux/ceph/messenger.h | 1 | ||||
-rw-r--r-- | net/ceph/messenger.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ceph/messenger.h b/include/linux/ceph/messenger.h index b47c7cc4c90a..6f77e70db855 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 a6d93280d3e9..29b00b2cecac 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); } |