diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-11-20 09:31:40 +0100 |
|---|---|---|
| committer | Petr Mladek <pmladek@suse.com> | 2025-11-24 16:10:11 +0100 |
| commit | a9f349e3c0bebe7ae97750b32a72f452bdf707e2 (patch) | |
| tree | 69d733f0361eb21af7949e25924ffa1b309458bd /tools/lib/python/abi/helpers.py | |
| parent | 376c18f30e226854062ff0a6eebc6af4ea62456b (diff) | |
lib/vsprintf: Unify FORMAT_STATE_NUM handlers
We have two almost identical pieces that handle FORMAT_STATE_NUM case.
The differences are:
- redundant {} for one-line if-else conditional
- missing blank line after variable definitions
- inverted conditional
Unify the style of two.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://patch.msgid.link/20251120083140.3478507-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'tools/lib/python/abi/helpers.py')
0 files changed, 0 insertions, 0 deletions
