IB/ipoib: function interface change
authorZhu Yanjun <yanjun.zhu@oracle.com>
Thu, 12 Jan 2017 07:39:01 +0000 (02:39 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 24 Jan 2017 21:20:37 +0000 (16:20 -0500)
commitdfc0e5550664a727a59921db7d9e7a41c21d03bb
tree3282b29d46a763fdf34dddc4501734fbba1a4999
parent820cd30ac2ad28fcfeb28f382aa21a29e921678a
IB/ipoib: function interface change

The ipoib_ib_dev_down/ipoib_ib_dev_stop return zero unconditionally
and the callers never check the returned values,
change the return type to void and remove the redundant return values.

Reviewed-by: Shan Hai <shan.hai@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>
drivers/infiniband/ulp/ipoib/ipoib.h
drivers/infiniband/ulp/ipoib/ipoib_ib.c