Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 666fe24b authored by Arushi's avatar Arushi Committed by Jason Gunthorpe
Browse files

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: default avatarArushi Singhal <arushisinghal19971997@gmail.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 7e952b19
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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) {