SUNRPC: Simplify queue timeouts using timer_reduce()

Simplify the setting of queue timeouts by using the timer_reduce()
function.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
Trond Myklebust
2019-04-07 13:58:51 -04:00
committed by Anna Schumaker
parent 5efd1876e6
commit 24a9d9a21e
2 changed files with 2 additions and 5 deletions

View File

@@ -183,7 +183,6 @@ struct rpc_task_setup {
struct rpc_timer {
struct timer_list timer;
struct list_head list;
unsigned long expires;
};
/*