From: Mark Adamenko Date: Tue, 10 Mar 2026 01:45:14 +0000 (-0700) Subject: staging: octeon: remove BUG() call X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e66cd5a8f2b48eb513867dcf0c3d25d8a405ec57;p=thirdparty%2Fkernel%2Flinux.git staging: octeon: remove BUG() call An unreachable default case calls BUG(). Remove the entire default case, as the three possible cases are already addressed. Signed-off-by: Mark Adamenko Link: https://patch.msgid.link/20260310014514.40293-1-marusik.adamenko@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/ethernet-tx.c b/drivers/staging/octeon/ethernet-tx.c index f5bbedac6a65..14d10659bce7 100644 --- a/drivers/staging/octeon/ethernet-tx.c +++ b/drivers/staging/octeon/ethernet-tx.c @@ -449,8 +449,6 @@ skip_xmit: case QUEUE_CORE: __skb_queue_tail(&priv->tx_free_list[qos], skb); break; - default: - BUG(); } while (skb_to_free > 0) {