aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2026-09-20 10:26:02 +0800
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-10-14 14:38:16 -0400
commitc4154fc34772134b0dbd14ab0134ba10b90c52cc (patch)
tree1b2daf74249bc3698bedd8a1637dab0c4bc46b3d /scripts/Makefile.thinlto
parentBluetooth: btnxpuart: Simplify nxp_recv_acl_pkt() by hci_acl_handle() (diff)
Bluetooth: use assign_bit() where applicable
Convert open-coded if/else with set_bit/clear_bit the assign_bit API. Done with Coccinelle semantic patch: // set_bit -> clear_bit => assign_bit @@ expression cond, bit, addr; @@ -if (cond) - set_bit(bit, addr); -else - clear_bit(bit, addr); +assign_bit(bit, addr, cond); @@ expression cond, bit, addr; @@ -if (cond) - clear_bit(bit, addr); -else - set_bit(bit, addr); +assign_bit(bit, addr, !cond); Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions