]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
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)
commitf4a3fc03c1d73753879fb655b8cd628b29f6706b
treead16a35e587408a396f2ab8e485428b8730fe733
parenta09f69c49b84b161ebd4dd09d3cce1b68297f1d3
RDS: Clean up error handling in rds_cmsg_rdma_args

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