aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/mellanox/mlxsw/switchib.c
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-04-01 17:34:57 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-01 10:56:43 -0400
commitad3f20b28602fd46b3a27b5a61be270a3794cc36 (patch)
tree68c04dfe9433f582d449d177650d4189029427d8 /drivers/net/ethernet/mellanox/mlxsw/switchib.c
parentmlxsw: Move "used_kvd_sizes" check to mlxsw_pci_config_profile (diff)
downloadlinux-dev-ad3f20b28602fd46b3a27b5a61be270a3794cc36.tar.xz
linux-dev-ad3f20b28602fd46b3a27b5a61be270a3794cc36.zip
mlxsw: Move "resources_query_enable" out of mlxsw_config_profile
As struct mlxsw_config_profile is mapped to the payload of the FW command of the same name, resources_query_enable flag does not belong there. Move it to struct mlxsw_driver. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/switchib.c')
-rw-r--r--drivers/net/ethernet/mellanox/mlxsw/switchib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/switchib.c b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
index ab7a29846bfa..c698ec4fd9d4 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/switchib.c
+++ b/drivers/net/ethernet/mellanox/mlxsw/switchib.c
@@ -510,7 +510,6 @@ static const struct mlxsw_config_profile mlxsw_sib_config_profile = {
.type = MLXSW_PORT_SWID_TYPE_IB,
}
},
- .resource_query_enable = 0,
};
static struct mlxsw_driver mlxsw_sib_driver = {