diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2020-06-23 12:52:36 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-06-24 13:52:31 +0200 |
commit | 95a5631f6c9f3045f26245e6045244652204dfdb (patch) | |
tree | fd049ef1ab29b3c4d49077349ec8fc4ef32881c5 /drivers/infiniband/ulp/ipoib/ipoib.h | |
parent | Merge branch 'raw_dumps' into rdma.git for-next (diff) | |
download | linux-95a5631f6c9f3045f26245e6045244652204dfdb.tar.xz linux-95a5631f6c9f3045f26245e6045244652204dfdb.zip |
RDMA/ipoib: Return void from ipoib_ib_dev_stop()
The return value from ipoib_ib_dev_stop() is always 0 - change it to be
void.
Link: https://lore.kernel.org/r/20200623105236.18683-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib.h')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib.h b/drivers/infiniband/ulp/ipoib/ipoib.h index 15f519ce7e0b..3440dc48d02c 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib.h +++ b/drivers/infiniband/ulp/ipoib/ipoib.h @@ -515,7 +515,7 @@ void ipoib_ib_dev_cleanup(struct net_device *dev); int ipoib_ib_dev_open_default(struct net_device *dev); int ipoib_ib_dev_open(struct net_device *dev); -int ipoib_ib_dev_stop(struct net_device *dev); +void ipoib_ib_dev_stop(struct net_device *dev); void ipoib_ib_dev_up(struct net_device *dev); void ipoib_ib_dev_down(struct net_device *dev); int ipoib_ib_dev_stop_default(struct net_device *dev); |