]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit - net/rds/ib.c
rds: remove unnecessary returned value check
authorZhu Yanjun <yanjun.zhu@oracle.com>
Fri, 3 Mar 2017 05:44:26 +0000 (00:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Mar 2017 17:51:22 +0000 (09:51 -0800)
commita8d63a53b3eac8626f62336dcc327c18f1bbca78
tree774e26f9fd85f6bc59afad87104dd99f8633dee3
parent37411cad633f5e41f8a13007654909d21b19363a
rds: remove unnecessary returned value check

The function rds_trans_register always returns 0. As such, it is not
necessary to check the returned value.

Cc: Joe Jin <joe.jin@oracle.com>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib.c
net/rds/rds.h
net/rds/tcp.c
net/rds/transport.c