diff options
author | Pierrick Bouvier <pierrick.bouvier@linaro.org> | 2024-09-18 21:46:25 -0700 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2024-09-24 13:53:35 +0200 |
commit | 7e62c90eef8bb9c75a0d2507c61291715727dd36 (patch) | |
tree | bae8cc36f227099806e751d758fb42d6b7ff5ab7 | |
parent | 60053abdcc1deff15055d5507625979f8dbbd67c (diff) | |
download | qemu-7e62c90eef8bb9c75a0d2507c61291715727dd36.zip qemu-7e62c90eef8bb9c75a0d2507c61291715727dd36.tar.gz qemu-7e62c90eef8bb9c75a0d2507c61291715727dd36.tar.bz2 |
hw/net: remove break after g_assert_not_reached()
This patch is part of a series that moves towards a consistent use of
g_assert_not_reached() rather than an ad hoc mix of different
assertion mechanisms.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <20240919044641.386068-19-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
-rw-r--r-- | hw/net/net_rx_pkt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/net/net_rx_pkt.c b/hw/net/net_rx_pkt.c index 6b9c4c9..0ea8734 100644 --- a/hw/net/net_rx_pkt.c +++ b/hw/net/net_rx_pkt.c @@ -376,7 +376,6 @@ net_rx_pkt_calc_rss_hash(struct NetRxPkt *pkt, break; default: g_assert_not_reached(); - break; } net_toeplitz_key_init(&key_data, key); |