summaryrefslogtreecommitdiff
path: root/drivers/greybus/core.c
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2021-01-11 23:05:25 -0800
committerJakub Kicinski <kuba@kernel.org>2021-01-13 15:45:51 -0800
commit21bad8da1e7728eb69bb4f4558058872cbf6b06e (patch)
tree3ac3385737b20f8c07e6e83fbd8d398f2c4cd6cc /drivers/greybus/core.c
parent838b00a2260ab6ec104a2a5696e619c19e8cd9be (diff)
net/mlx5e: Simplify condition on esw_vport_enable_qos()
esw->qos.enabled will only be true if both MLX5_CAP_GEN(dev, qos) and MLX5_CAP_QOS(dev, esw_scheduling) are true. Therefore, remove them from the condition in and rely only on esw->qos.enabled. Signed-off-by: Eli Cohen <elic@nvidia.com> Reviewed-by: Roi Dayan <roid@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/greybus/core.c')
0 files changed, 0 insertions, 0 deletions