diff options
| author | Moses Christopher Bollavarapu <mosescb.dev@gmail.com> | 2022-02-19 19:32:34 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-02-21 18:13:37 +0100 |
| commit | c4b5dfd8403bd29ba34b9173a1e4e2f3ee655ce2 (patch) | |
| tree | 768a0332ccfb2d433f7688508d46e4be1fef436c /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | staging: r8188eu: move open brace to the previous line (diff) | |
| download | linux-c4b5dfd8403bd29ba34b9173a1e4e2f3ee655ce2.tar.gz linux-c4b5dfd8403bd29ba34b9173a1e4e2f3ee655ce2.zip | |
staging: rtl8192e: use BIT macro instead of left shifting
There is a BIT(nr) macro available in vdso/bits.h
which is doing the same left shift operation
Example: (1 << 7) == BIT(7)
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Moses Christopher Bollavarapu <mosescb.dev@gmail.com>
Link: https://lore.kernel.org/r/20220219183234.31216-1-mosescb.dev@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
