diff options
author | Arushi <arushisinghal19971997@gmail.com> | 2018-03-03 21:54:57 +0530 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-06 16:00:51 -0700 |
commit | 666fe24bbeb699c100b396095963a62c6f078b38 (patch) | |
tree | 148c2839fa0aa1d7b0141d6719ba58eef06cefc3 /drivers/infiniband/hw | |
parent | 7e952b19eb638ffa2d511796e35c62a48ec1aef0 (diff) |
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.c | 4 |
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) { |