aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorEmily Peri <[email protected]>2022-10-28 11:39:19 -0700
committerGreg Kroah-Hartman <[email protected]>2022-10-31 09:04:18 +0100
commit2fe5dc3dcc2920669217e3696ec15fec6630a92f (patch)
treefa94386ac44c5eb1434fe48b85fdbef517d1cdc7 /tools/perf/scripts/python/netdev-times.py
parent8cd75652300f957066b86e4ede5525c756fe7a42 (diff)
staging: rtl8723bs: replace ternary statement with min_t macro
Ternary statements that pick the min of two values can be replaced by the macro min_t(). This improves readability, since its quicker to understand min_t(type, x, y) than x < y ? x : y. Issue found by coccicheck. Signed-off-by: Emily Peri <[email protected]> Link: https://lore.kernel.org/r/Y1wh1zYMAbbKSrGB@marshmallow Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions