]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
svcrpc: move unused field from cache_deferred_req
authorJ. Bruce Fields <bfields@citi.umich.edu>
Thu, 31 Jan 2008 21:14:54 +0000 (16:14 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:37 +0000 (16:13 -0400)
This field is set once and never used; probably some artifact of an
earlier implementation idea.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
include/linux/sunrpc/cache.h
net/sunrpc/cache.c

index 03547d6abee50be5c73373dd14b6811700655b59..2d8b211b9324a2bed283048161472d57b13a5977 100644 (file)
@@ -120,7 +120,6 @@ struct cache_deferred_req {
        struct list_head        hash;   /* on hash chain */
        struct list_head        recent; /* on fifo */
        struct cache_head       *item;  /* cache item we wait on */
-       time_t                  recv_time;
        void                    *owner; /* we might need to discard all defered requests
                                         * owned by someone */
        void                    (*revisit)(struct cache_deferred_req *req,
index b5f2786251b95368f4bccda69290683e1c3f0b28..d75530ff2a6d90aaca6f9a4f39cada3e56b89fc7 100644 (file)
@@ -571,7 +571,6 @@ static int cache_defer_req(struct cache_req *req, struct cache_head *item)
                return -ETIMEDOUT;
 
        dreq->item = item;
-       dreq->recv_time = get_seconds();
 
        spin_lock(&cache_defer_lock);