commit | 4781b1521a5c7da72ca673cf5885dda9f33bef3d | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 06 13:53:36 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 07 18:18:37 2021 +0200 |
tree | cd294dcb501fe956d1691306360fff288df424f0 | |
parent | 22d675cb772f6e123412b7a8aee55425499a30cf [diff] |
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec This patch replaces roughly all occurrences of an HA_ATOMIC_ADD(&foo, 1) or HA_ATOMIC_SUB(&foo, 1) with the equivalent HA_ATOMIC_INC(&foo) and HA_ATOMIC_DEC(&foo) respectively. These are 507 changes over 45 files.