mlxsw: core: Remove mlxsw_core_is_initialized()
authorIdo Schimmel <idosch@nvidia.com>
Wed, 15 Sep 2021 10:13:06 +0000 (13:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Sep 2021 15:17:15 +0000 (16:17 +0100)
commit25a91f835a7b0964455594d11253060bf5b480b4
tree44e85b3771f03c290f21ebcd20d6f392375b48aa
parent3d7a6f677905ea74c060709a0c5fe7b3df1eaae3
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>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/core_env.c