Skip to content

Commit

Permalink
svcrpc: move unused field from cache_deferred_req
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
J. Bruce Fields committed Apr 23, 2008
1 parent 6a85fa3 commit 67eb6ff
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion include/linux/sunrpc/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion net/sunrpc/cache.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 67eb6ff

Please sign in to comment.