]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf867b877a3f101ac14d7ed0cca0a846cde79db8
tree774e26f9fd85f6bc59afad87104dd99f8633dee3
parentaf28e59271e9087267b9ca7ac08779af9167383d
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