diff options
| author | Amitoj Kaur Chawla <amitoj1606@gmail.com> | 2015-10-16 22:09:08 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-16 23:02:55 -0700 |
| commit | d32cf44a62716d4fa9e9d8a5d7201a89d936fe5e (patch) | |
| tree | 86f82e7ae89f1bc9b9be5d7e7c7ec6a30d15087e /tools/perf/scripts/python | |
| parent | 0bfe513cac8cf0655489e0e6dd5e7dd3cb2b5927 (diff) | |
| download | linux-d32cf44a62716d4fa9e9d8a5d7201a89d936fe5e.tar.gz linux-d32cf44a62716d4fa9e9d8a5d7201a89d936fe5e.zip | |
staging: rdma: hfi1: Prefer using BIT Macro
Replace bit shifting on 1 with the BIT(x) Macro
The semantic patch used to find this is:
@@ int g; @@
-(1 << g)
+BIT(g)
Signed-off-by: Amitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
