diff options
author | 2017-03-03 00:44:26 -0500 | |
---|---|---|
committer | 2017-03-03 09:51:22 -0800 | |
commit | a8d63a53b3eac8626f62336dcc327c18f1bbca78 (patch) | |
tree | 774e26f9fd85f6bc59afad87104dd99f8633dee3 /scripts/gcc-plugins/sancov_plugin.c | |
parent | rxrpc: Fix potential NULL-pointer exception (diff) | |
download | linux-dev-a8d63a53b3eac8626f62336dcc327c18f1bbca78.tar.xz linux-dev-a8d63a53b3eac8626f62336dcc327c18f1bbca78.zip |
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>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions