RDMA/qib: Remove superfluous fallthrough statements
authorAlex Dewar <alex.dewar90@gmail.com>
Tue, 25 Aug 2020 17:12:42 +0000 (18:12 +0100)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 31 Aug 2020 16:21:06 +0000 (13:21 -0300)
commitd2598bb809d13a47e48a39a96ae8599ee8468025
treecce7bcb3a60d52cd21395eaf1213bfee5171ecc5
parent6989aa62d342d79d447a9af12477b907d211bebe
RDMA/qib: Remove superfluous fallthrough statements

Commit 36a8f01cd24b ("IB/qib: Add congestion control agent
implementation") erroneously marked a couple of switch cases as /*
FALLTHROUGH */, which were later converted to fallthrough statements by
commit df561f6688fe ("treewide: Use fallthrough pseudo-keyword"). This
triggered a Coverity warning about unreachable code.

Remove the fallthrough statements.

Link: https://lore.kernel.org/r/20200825171242.448447-1-alex.dewar90@gmail.com
Addresses-Coverity: ("Unreachable code")
Fixes: 36a8f01cd24b ("IB/qib: Add congestion control agent implementation")
Signed-off-by: Alex Dewar <alex.dewar90@gmail.com>
Reviewed-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/qib/qib_mad.c