2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

tty: fix codding-style around for_each_bit call

Wraping "{" to next line after for-each macros is wrong.

Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Pavel Tikhomirov
2023-01-16 18:30:32 +03:00
committed by Andrei Vagin
parent abfe0b5d24
commit 1bb84f96f5

View File

@@ -398,8 +398,7 @@ static int tty_verify_active_pairs(void)
{
unsigned long i, unpaired_slaves = 0;
for_each_bit(i, tty_active_pairs)
{
for_each_bit(i, tty_active_pairs) {
if ((i % 2) == 0) {
if (test_bit(i + 1, tty_active_pairs)) {
i++;