Skip to content

Commit 17fef20

Browse files
hormskuba-moo
authored andcommitted
net/mlx5: Avoid unnecessary use of comma operator
Although it does not seem to have any untoward side-effects, the use of ';' to separate to assignments seems more appropriate than ','. Flagged by clang-19 -Wcomma No functional change intended. Compile tested only. Signed-off-by: Simon Horman <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Reviewed-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 188107b commit 17fef20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/mellanox/mlx5/core/lib/fs_chains.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ mlx5_chains_create_global_table(struct mlx5_fs_chains *chains)
700700
goto err_ignore;
701701
}
702702

703-
chain = mlx5_chains_get_chain_range(chains),
703+
chain = mlx5_chains_get_chain_range(chains);
704704
prio = mlx5_chains_get_prio_range(chains);
705705
level = mlx5_chains_get_level_range(chains);
706706

0 commit comments

Comments
 (0)