Re: [PATCH] sunrpc: remove redundant code

2018-12-26 Thread Chuck Lever
> On Dec 25, 2018, at 10:24 PM, Kangjie Lu wrote: > > If no bytes to decode, just use "xdr->p" instead of calling > xdr_inline_decode to get it. The fix cleans up the code. > > Signed-off-by: Kangjie Lu > --- > net/sunrpc/xprtrdma/rpc_rdma.c | 4 +--- > 1 file changed, 1 insertion(+), 3 delet

[PATCH] sunrpc: remove redundant code

2018-12-25 Thread Kangjie Lu
If no bytes to decode, just use "xdr->p" instead of calling xdr_inline_decode to get it. The fix cleans up the code. Signed-off-by: Kangjie Lu --- net/sunrpc/xprtrdma/rpc_rdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xpr