rds: remove unnecessary returned value check
authorZhu Yanjun <[email protected]>
Fri, 3 Mar 2017 05:44:26 +0000 (00:44 -0500)
committerDavid S. Miller <[email protected]>
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 <[email protected]>
Cc: Junxiao Bi <[email protected]>
Signed-off-by: Zhu Yanjun <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/rds/ib.c
net/rds/rds.h
net/rds/tcp.c
net/rds/transport.c