diff options
author | Ido Schimmel <idosch@nvidia.com> | 2021-09-15 13:13:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-15 18:17:15 +0300 |
commit | 25a91f835a7b0964455594d11253060bf5b480b4 (patch) | |
tree | 44e85b3771f03c290f21ebcd20d6f392375b48aa /drivers/net/ethernet/mellanox/mlxsw/core.h | |
parent | 3d7a6f677905ea74c060709a0c5fe7b3df1eaae3 (diff) | |
download | linux-25a91f835a7b0964455594d11253060bf5b480b4.tar.xz |
mlxsw: core: Remove mlxsw_core_is_initialized()
After the previous patch, the switch driver is always initialized last,
making this function redundant.
Remove it.
Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/core.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/core.h b/drivers/net/ethernet/mellanox/mlxsw/core.h index d21981cc04ca..12023a550007 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/core.h +++ b/drivers/net/ethernet/mellanox/mlxsw/core.h @@ -249,7 +249,6 @@ mlxsw_core_port_devlink_port_get(struct mlxsw_core *mlxsw_core, u8 local_port); bool mlxsw_core_port_is_xm(const struct mlxsw_core *mlxsw_core, u8 local_port); struct mlxsw_env *mlxsw_core_env(const struct mlxsw_core *mlxsw_core); -bool mlxsw_core_is_initialized(const struct mlxsw_core *mlxsw_core); int mlxsw_core_schedule_dw(struct delayed_work *dwork, unsigned long delay); bool mlxsw_core_schedule_work(struct work_struct *work); |