diff options
| author | Sanjana Sanikommu <[email protected]> | 2019-03-28 20:04:24 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-03-29 17:15:55 +0100 |
| commit | 041273721201e0935915aabb8d6b7499b9b949c3 (patch) | |
| tree | ee797b284fb8a8bfe5d5174a97f47f9a2ea156d7 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | bdcca44e16a2e701724ee305c265e07c36beace7 (diff) | |
staging: gasket: apex: Prefer using the BIT macro
Challenge suggested by coccinelle.
Replace bit shifting on 1 with the BIT(x) macro.
Coccinelle script:
@@
constant c;
@@
-(1 << c)
+BIT(c)
Signed-off-by: Sanjana Sanikommu <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions