aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw
diff options
context:
space:
mode:
authorArushi <arushisinghal19971997@gmail.com>2018-03-03 21:54:57 +0530
committerJason Gunthorpe <jgg@mellanox.com>2018-03-06 16:00:51 -0700
commit666fe24bbeb699c100b396095963a62c6f078b38 (patch)
tree148c2839fa0aa1d7b0141d6719ba58eef06cefc3 /drivers/infiniband/hw
parenti40iw: Implement get_vector_affinity API (diff)
downloadlinux-dev-666fe24bbeb699c100b396095963a62c6f078b38.tar.xz
linux-dev-666fe24bbeb699c100b396095963a62c6f078b38.zip
infiniband: hw: Drop unnecessary continue
Continue at the bottom of a loop are removed. Issue found using drop_continue.cocci Coccinelle script. Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r--drivers/infiniband/hw/qib/qib_init.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c
index 3990f386aa32..6c68f8a97018 100644
--- a/drivers/infiniband/hw/qib/qib_init.c
+++ b/drivers/infiniband/hw/qib/qib_init.c
@@ -678,11 +678,9 @@ int qib_init(struct qib_devdata *dd, int reinit)
lastfail = qib_create_rcvhdrq(dd, rcd);
if (!lastfail)
lastfail = qib_setup_eagerbufs(rcd);
- if (lastfail) {
+ if (lastfail)
qib_dev_err(dd,
"failed to allocate kernel ctxt's rcvhdrq and/or egr bufs\n");
- continue;
- }
}
for (pidx = 0; pidx < dd->num_pports; ++pidx) {