diff options
| author | Hongbo Li <lihongbo22@huawei.com> | 2024-09-02 16:14:07 +0300 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-10-09 00:37:15 +0300 |
| commit | 8d873ccd8a0703587f743f9e9e474f48094b98d1 (patch) | |
| tree | f406b75f2f40f4a06d61914dab13c25f5274b382 /tools/perf/scripts/python/netdev-times.py | |
| parent | 7e61c89c6065731dfc11ac7a2c0dd27a910f2afb (diff) | |
| download | linux-8d873ccd8a0703587f743f9e9e474f48094b98d1.tar.xz | |
ice: 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 clean the code. No functional change intended.
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Tested-by: George Kuruvinakunnel <george.kuruvinakunnel@intel.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
