Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* [PATCH] infiniband: hw: Drop unnecessary continue
@ 2018-03-03 13:03 Arushi Singhal
  2018-03-03 14:07 ` [Outreachy kernel] " Julia Lawall
  2018-03-03 15:32 ` Dennis Dalessandro
  0 siblings, 2 replies; 4+ messages in thread
From: Arushi Singhal @ 2018-03-03 13:03 UTC (permalink / raw)
  To: dennis.dalessandro
  Cc: mike.marciniszyn, Doug Ledford, Jason Gunthorpe, linux-rdma,
	linux-kernel, outreachy-kernel

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>
---
 drivers/infiniband/hw/qib/qib_init.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/infiniband/hw/qib/qib_init.c b/drivers/infiniband/hw/qib/qib_init.c
index 3990f38..1bd3b32 100644
--- a/drivers/infiniband/hw/qib/qib_init.c
+++ b/drivers/infiniband/hw/qib/qib_init.c
@@ -681,7 +681,6 @@ int qib_init(struct qib_devdata *dd, int reinit)
 		if (lastfail) {
 			qib_dev_err(dd,
 				"failed to allocate kernel ctxt's rcvhdrq and/or egr bufs\n");
-			continue;
 		}
 	}
 
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-03 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-03 13:03 [PATCH] infiniband: hw: Drop unnecessary continue Arushi Singhal
2018-03-03 14:07 ` [Outreachy kernel] " Julia Lawall
2018-03-03 15:34   ` Dennis Dalessandro
2018-03-03 15:32 ` Dennis Dalessandro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox