From: Philippe Mathieu-Daudé Date: Wed, 18 Dec 2019 19:25:25 +0000 (+0100) Subject: hw/net/imx_fec: Remove unuseful FALLTHROUGH comments X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7c45c1d3c0050ff0913b86aab97b2d9d1741e683;p=qemu.git hw/net/imx_fec: Remove unuseful FALLTHROUGH comments We don't need to explicit these obvious switch fall through comments. Stay consistent with the rest of the codebase. Suggested-by: Thomas Huth Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Aleksandar Markovic Reviewed-by: Richard Henderson Reviewed-by: Thomas Huth Message-Id: <20191218192526.13845-6-philmd@redhat.com> Signed-off-by: Paolo Bonzini --- diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index c01ce4f078..5a83678f64 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -901,8 +901,8 @@ static void imx_eth_write(void *opaque, hwaddr offset, uint64_t value, s->regs[index] = 0; } break; - case ENET_TDAR1: /* FALLTHROUGH */ - case ENET_TDAR2: /* FALLTHROUGH */ + case ENET_TDAR1: + case ENET_TDAR2: if (unlikely(single_tx_ring)) { qemu_log_mask(LOG_GUEST_ERROR, "[%s]%s: trying to access TDAR2 or TDAR1\n",