]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
staging: fsl-dpaa2/eth: Remove dead code
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Thu, 29 Jun 2017 16:25:46 +0000 (11:25 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jul 2017 06:41:00 +0000 (08:41 +0200)
commit0a24e42969b8eab55dfa78b299310094adca9734
tree020446b359a4acd4aa6b9027203b98f0442c0f3e
parent7b9de71bd5d53e1f20166d7a182f277ff7bbc1f3
staging: fsl-dpaa2/eth: Remove dead code

All possible values of the switch statement are explicitly
handled, so there's no need to have a default branch.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Acked-by: Bogdan Purcareata <bogdan.purcareata@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c