Messages in this thread | | | Date | Fri, 10 Aug 2018 18:26:31 +0300 | From | Ido Schimmel <> | Subject | Re: [PATCH net-next] mlxsw: core: remove unnecessary function mlxsw_core_driver_put |
| |
On Fri, Aug 10, 2018 at 10:37:30AM +0800, YueHaibing wrote: > The function mlxsw_core_driver_put only traverse mlxsw_core_driver_list > to find the matched mlxsw_driver,but never used it. > So it can be removed safely. > > Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
FWIW, this function used to call module_put(), but it was removed in commit 1d20d23c59c9 ("mlxsw: Move PCI id table definitions into driver modules").
Thanks!
| |