SUNRPC: Remove redundant initialisations of request rq_bytes_sent
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 27 Sep 2013 15:28:40 +0000 (11:28 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Tue, 1 Oct 2013 22:22:11 +0000 (18:22 -0400)
commit92551948174d079b12541437f51cbe3e17d9dd24
treea831008dba83fac12e3aa438226f919794e7dfa4
parentca7f33aa5b8051f17eec81766b8f39c83caf4196
SUNRPC: Remove redundant initialisations of request rq_bytes_sent

Now that we clear the rq_bytes_sent field on unlock, we don't need
to set it on lock, so we just set it once when initialising the request.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xprt.c