Эх сурвалжийг харах

svcrpc: move unused field from cache_deferred_req

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>
J. Bruce Fields 17 жил өмнө
parent
commit
67eb6ff610

+ 0 - 1
include/linux/sunrpc/cache.h

@@ -120,7 +120,6 @@ struct cache_deferred_req {
 	struct list_head	hash;	/* on hash chain */
 	struct list_head	hash;	/* on hash chain */
 	struct list_head	recent; /* on fifo */
 	struct list_head	recent; /* on fifo */
 	struct cache_head	*item;  /* cache item we wait on */
 	struct cache_head	*item;  /* cache item we wait on */
-	time_t			recv_time;
 	void			*owner; /* we might need to discard all defered requests
 	void			*owner; /* we might need to discard all defered requests
 					 * owned by someone */
 					 * owned by someone */
 	void			(*revisit)(struct cache_deferred_req *req,
 	void			(*revisit)(struct cache_deferred_req *req,

+ 0 - 1
net/sunrpc/cache.c

@@ -571,7 +571,6 @@ static int cache_defer_req(struct cache_req *req, struct cache_head *item)
 		return -ETIMEDOUT;
 		return -ETIMEDOUT;
 
 
 	dreq->item = item;
 	dreq->item = item;
-	dreq->recv_time = get_seconds();
 
 
 	spin_lock(&cache_defer_lock);
 	spin_lock(&cache_defer_lock);