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)
commit42d6d8ab51ca04afcb8a64759076da624cdb71e8
treec8e23374b11578de5cddd9dde7d158bc5fe4dcc6
parent2e29ebb8119e6037133921fac09cc5f9d625b511
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