libceph: drop msg->ack_stamp field
authorIlya Dryomov <idryomov@gmail.com>
Tue, 13 Oct 2020 15:23:22 +0000 (17:23 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 14 Dec 2020 22:21:49 +0000 (23:21 +0100)
It is set in process_ack() but never used.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
include/linux/ceph/messenger.h
net/ceph/messenger.c

index b47c7cc..6f77e70 100644 (file)
@@ -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;
 };
index a6d9328..29b00b2 100644 (file)
@@ -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);
        }