From 868a0b7f5fe41cf5f32910807cbb0fd8941903a3 Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sat, 29 Jul 2023 21:03:38 +0600 Subject: [PATCH] net_tulip.c: Code style changes (part 1) --- src/network/net_tulip.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/network/net_tulip.c b/src/network/net_tulip.c index 0d9f352c6..f9f56ec2e 100644 --- a/src/network/net_tulip.c +++ b/src/network/net_tulip.c @@ -747,10 +747,8 @@ static uint32_t tulip_read(uint32_t addr, void *opaque) break; default: - if (addr & 7) { - } else { + if (!(addr & 7)) data = s->csr[addr >> 3]; - } break; } return data;