aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorOscar Carter <[email protected]>2020-04-14 17:38:46 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-16 13:40:20 +0200
commit91fdbcd909293f491f9773fef5b39605126cbf94 (patch)
treecb4aa36f36a1015b5b8a9c0bdd062db7ebfcbb55 /tools/perf/scripts/python
parentf823cce279368162a161852de189d654a1e61b72 (diff)
staging: vt6656: Use BIT() macro instead of bit shift operator
Use the BIT() macro instead of the bit left shift operator. So the code is more clear. It's safe to remove the casting to u16 type because the value obtained never exceeds 16 bits. So the casting is unnecessary. Signed-off-by: Oscar Carter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions