]> git.openpandora.org Git - pandora-kernel.git/commitdiff
RDS: Clean up error handling in rds_cmsg_rdma_args
authorAndy Grover <andy.grover@oracle.com>
Thu, 28 Oct 2010 15:40:57 +0000 (15:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Oct 2010 23:34:17 +0000 (16:34 -0700)
We don't need to set ret = 0 at the end -- it's initialized to 0.

Also, don't increment s_send_rdma stat if we're exiting with an
error.

Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/rdma.c

diff --cc net/rds/rdma.c
Simple merge