diff options
| author | Hongbo Li <lihongbo22@huawei.com> | 2024-09-02 21:14:07 +0800 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2024-10-08 14:37:15 -0700 |
| commit | 8d873ccd8a0703587f743f9e9e474f48094b98d1 (patch) | |
| tree | f406b75f2f40f4a06d61914dab13c25f5274b382 /tools/perf/scripts/python | |
| parent | ice: store max_frame and rx_buf_len only in ice_rx_ring (diff) | |
| download | linux-8d873ccd8a0703587f743f9e9e474f48094b98d1.tar.gz linux-8d873ccd8a0703587f743f9e9e474f48094b98d1.zip | |
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')
0 files changed, 0 insertions, 0 deletions
