Commit a9f349e
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>1 parent 376c18f commit a9f349e
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2877 | 2877 | | |
2878 | 2878 | | |
2879 | 2879 | | |
2880 | | - | |
2881 | | - | |
2882 | | - | |
| 2880 | + | |
| 2881 | + | |
2883 | 2882 | | |
| 2883 | + | |
| 2884 | + | |
2884 | 2885 | | |
2885 | 2886 | | |
2886 | 2887 | | |
| |||
3388 | 3389 | | |
3389 | 3390 | | |
3390 | 3391 | | |
3391 | | - | |
| 3392 | + | |
3392 | 3393 | | |
3393 | | - | |
| 3394 | + | |
3394 | 3395 | | |
3395 | | - | |
3396 | 3396 | | |
3397 | 3397 | | |
3398 | 3398 | | |
| |||
0 commit comments