mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 14:29:54 +02:00
cangen: checkpatch: put braces on all arms of if statement
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
@@ -496,8 +496,9 @@ resend:
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
goto resend;
|
goto resend;
|
||||||
} else
|
} else {
|
||||||
enobufs_count++;
|
enobufs_count++;
|
||||||
|
}
|
||||||
|
|
||||||
} else if (nbytes < mtu) {
|
} else if (nbytes < mtu) {
|
||||||
fprintf(stderr, "write: incomplete CAN frame\n");
|
fprintf(stderr, "write: incomplete CAN frame\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user