diff options
| author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2017-01-19 07:16:06 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2017-01-25 00:22:24 +0300 |
| commit | 5c37077fd025c0fa3aa3ab2e6b607d653a4fc604 (patch) | |
| tree | 205ce7dff6915f6bd880b41289abba0228247a81 /tools/perf/scripts/python/netdev-times.py | |
| parent | 3f9fade5e77da67f618ac766ce1a6ded1679fb1a (diff) | |
| download | linux-5c37077fd025c0fa3aa3ab2e6b607d653a4fc604.tar.xz | |
IB/ipoib: Remove the unnecessary error check
The function ipoib_mcast_start_thread/ipoib_ib_dev_up always return zero.
As such, in the function ipoib_open, err_stop will never be reached.
So remove this err_stop and change the return type of the function
ipoib_mcast_start_thread/ipoib_ib_dev_up to void.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
