diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2017-01-05 09:56:08 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 22:20:37 +0100 |
commit | f7534f45dcbc1a2ecb486b019db0443188e957d6 (patch) | |
tree | e9bd287abadd5bf983cf261d6fff6a6eb0e35f22 /usr | |
parent | IB/isert: fix spelling mistake: "teminating" -> "terminating" (diff) | |
download | linux-f7534f45dcbc1a2ecb486b019db0443188e957d6.tar.xz linux-f7534f45dcbc1a2ecb486b019db0443188e957d6.zip |
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 'usr')
0 files changed, 0 insertions, 0 deletions