summaryrefslogtreecommitdiff
path: root/drivers/infiniband/core/cm.c
diff options
context:
space:
mode:
authorZhu Yanjun <yanjun.zhu@oracle.com>2017-01-05 11:56:08 +0300
committerDoug Ledford <dledford@redhat.com>2017-01-25 00:20:37 +0300
commitf7534f45dcbc1a2ecb486b019db0443188e957d6 (patch)
treee9bd287abadd5bf983cf261d6fff6a6eb0e35f22 /drivers/infiniband/core/cm.c
parent506f71d1811aaf2d6a6c0bd132ceba29f5c14f3e (diff)
downloadlinux-f7534f45dcbc1a2ecb486b019db0443188e957d6.tar.xz
IB/ipoib: Remove unnecessary returned value check
In the function ipoib_set_dev_features, the returned value is always 0. As such, it is not necessary to check the returned value. This is not a bug. It is a trivial problem. Reviewed-by: Guanglei Li <guanglei.li@oracle.com> Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com> Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/cm.c')
0 files changed, 0 insertions, 0 deletions