]> git.baikalelectronics.ru Git - kernel.git/commit
sunrpc: simplify xdr_shrink_pagelen use of "copy"
authorBenny Halevy <bhalevy@panasas.com>
Sun, 29 Aug 2010 16:13:15 +0000 (12:13 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 29 Aug 2010 16:13:15 +0000 (12:13 -0400)
commit9ac560abdad12a19d3615c8b3ebcdceff3c3a772
treec8e23374b11578de5cddd9dde7d158bc5fe4dcc6
parent79a71eb1fdd8f06391bc64f089539a227c68f586
sunrpc: simplify xdr_shrink_pagelen use of "copy"

The "copy" variable value can be computed using the existing
logic rather than repeating it.

Signed-off-by: Benny Halevy <bhalevy@panasas.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xdr.c