RPC: remove unneeded checks from xdr_truncate_encode()
authorJ. Bruce Fields <bfields@redhat.com>
Fri, 19 Sep 2014 21:21:35 +0000 (17:21 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Thu, 23 Oct 2014 18:05:11 +0000 (14:05 -0400)
Thanks to Andrea Arcangeli for pointing out these checks are
obviously unnecessary given the preceding calculations.

Reported-by: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xdr.c

Simple merge