diff options
author | Hongbo Li <lihongbo22@huawei.com> | 2024-09-02 21:11:23 +0800 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2024-09-02 16:53:53 +0200 |
commit | 26207c6332e83583a74228da9e5278d4fe5d26cf (patch) | |
tree | 4a5d0bf4d4d3c043889639c31ba92392a94c86ce /tools/perf/scripts/python/syscall-counts.py | |
parent | 35c9f09b5691d6dff1f3e62fe1825fa10b644b45 (diff) |
dm: Make use of __assign_bit() API
We have for some time the __assign_bit() API to replace
open coded
if (foo)
__set_bit(n, bar);
else
__clear_bit(n, bar);
Use this API to simplify the code. No functional change
intended.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions