diff options
| author | Mengyuan Lou <mengyuanlou@net-swift.com> | 2023-01-16 18:38:39 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-01-17 19:29:59 -0800 |
| commit | 860edff562e7e6d8af0ba89ca7b41506e56be430 (patch) | |
| tree | c657839ca766ebb8aec39cf6aea05fc9a5153224 /tools/perf/scripts/python/flamegraph.py | |
| parent | Merge tag 'i2c-fwnode-api-2023017' of https://git.kernel.org/pub/scm/linux/ke... (diff) | |
| download | linux-860edff562e7e6d8af0ba89ca7b41506e56be430.tar.gz linux-860edff562e7e6d8af0ba89ca7b41506e56be430.zip | |
net: wangxun: clean up the code
Convert various mult-bit fields to be defined using GENMASK/FIELD_PREP.
Simplify the code with the ternary operator.
Signed-off-by: Mengyuan Lou <mengyuanlou@net-swift.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230116103839.84087-1-mengyuanlou@net-swift.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
