]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: octeon: remove BUG() call
authorMark Adamenko <marusik.adamenko@gmail.com>
Tue, 10 Mar 2026 01:45:14 +0000 (18:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Mar 2026 15:48:40 +0000 (16:48 +0100)
commite66cd5a8f2b48eb513867dcf0c3d25d8a405ec57
tree2f6ef27f0bd177c3b5da7e6b3aae70ede0ff0370
parent7f9e3268fbc89eb82463394791d1b617f720a8d0
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 <marusik.adamenko@gmail.com>
Link: https://patch.msgid.link/20260310014514.40293-1-marusik.adamenko@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-tx.c