]> git.karo-electronics.de Git - linux-beck.git/commit
svcrdma: Remove unused variable in rdma_copy_tail()
authorChuck Lever <chuck.lever@oracle.com>
Tue, 29 Nov 2016 16:05:23 +0000 (11:05 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 30 Nov 2016 22:31:15 +0000 (17:31 -0500)
commitf5426d37f654f59fb83e6ff3207cc2b157742670
tree6b3a641e0ef69b2b30aba38c4f0223f27874b91f
parent9a16a34d2146e1bcfad6c6ae6d214d645b424265
svcrdma: Remove unused variable in rdma_copy_tail()

Clean up.

linux-2.6/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c: In function
 ‘rdma_copy_tail’:
linux-2.6/net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:376:6: warning:
 variable ‘ret’ set but not used [-Wunused-but-set-variable]
  int ret;
      ^

Fixes: a97c331f9aa9 ("svcrdma: Handle additional inline content")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c