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 /rust/helpers/mutex.c | |
parent | 7e61c89c6065731dfc11ac7a2c0dd27a910f2afb (diff) |
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 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions