remove useless check as previous one is enough

This commit is contained in:
smayzy
2026-04-27 14:59:41 +02:00
parent 45bad91ba7
commit 52c2deb4ca
-2
View File
@@ -122,7 +122,6 @@ void read_can(Tel *t, int soc) {
if (nbytes != sizeof(struct can_frame)) return;
if (nbytes > 0) {
switch (frame.can_id) {
@@ -135,7 +134,6 @@ void read_can(Tel *t, int soc) {
break;
}
}
}
void read_uart(Tel *t, int fd, SerialParser *uart_str) {
char buf[128];