commit | f7534f45dcbc1a2ecb486b019db0443188e957d6 | [log] [tgz] |
---|---|---|
author | Zhu Yanjun <yanjun.zhu@oracle.com> | Thu Jan 05 03:56:08 2017 -0500 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 24 16:20:37 2017 -0500 |
tree | e9bd287abadd5bf983cf261d6fff6a6eb0e35f22 | |
parent | 506f71d1811aaf2d6a6c0bd132ceba29f5c14f3e [diff] |
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>