diff options
author | Martin Blumenstingl <martin.blumenstingl@googlemail.com> | 2020-05-13 00:10:58 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-13 22:23:13 +0300 |
commit | 3649abe43251de4357bdd6ef0163de25f96554e9 (patch) | |
tree | 7961509e9696937c805a5f227ab8912ae0069639 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ee0b8e6d02186321be0ea4ec0fb2cbd35bec7e29 (diff) | |
download | linux-3649abe43251de4357bdd6ef0163de25f96554e9.tar.xz |
net: stmmac: dwmac-meson8b: use FIELD_PREP instead of open-coding it
Use FIELD_PREP() to shift a value to the correct offset based on a
bitmask instead of open-coding the logic.
No functional changes.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions