|
@@ -855,7 +855,6 @@ int mlxsw_core_bus_device_register(const struct mlxsw_bus_info *mlxsw_bus_info,
|
|
|
err_debugfs_init:
|
|
|
mlxsw_core->driver->fini(mlxsw_core->driver_priv);
|
|
|
err_driver_init:
|
|
|
- mlxsw_hwmon_fini(mlxsw_core->hwmon);
|
|
|
err_hwmon_init:
|
|
|
mlxsw_emad_fini(mlxsw_core);
|
|
|
err_emad_init:
|
|
@@ -878,7 +877,6 @@ void mlxsw_core_bus_device_unregister(struct mlxsw_core *mlxsw_core)
|
|
|
|
|
|
mlxsw_core_debugfs_fini(mlxsw_core);
|
|
|
mlxsw_core->driver->fini(mlxsw_core->driver_priv);
|
|
|
- mlxsw_hwmon_fini(mlxsw_core->hwmon);
|
|
|
mlxsw_emad_fini(mlxsw_core);
|
|
|
mlxsw_core->bus->fini(mlxsw_core->bus_priv);
|
|
|
kfree(mlxsw_core->lag.mapping);
|