mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 23:35:21 +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:
committed by
Andrei Vagin
parent
abfe0b5d24
commit
1bb84f96f5
@@ -398,8 +398,7 @@ static int tty_verify_active_pairs(void)
|
|||||||
{
|
{
|
||||||
unsigned long i, unpaired_slaves = 0;
|
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 ((i % 2) == 0) {
|
||||||
if (test_bit(i + 1, tty_active_pairs)) {
|
if (test_bit(i + 1, tty_active_pairs)) {
|
||||||
i++;
|
i++;
|
||||||
|
Reference in New Issue
Block a user