Sean Hefty wrote:

+static int iser_free_device_ib_res(struct iser_device *device)

Can you eliminate the return code?

+struct iser_device *iser_device_find_by_ib_device(struct rdma_cm_id *cma_id)
+               if (device == NULL)
+                       goto end;

goto out;  // see below
out:

both fixes are committed in r761

Or.

------------------------------------------------------------------------
r6761 | ogerlitz | 2006-04-30 15:35:15 +0300 (Sun, 30 Apr 2006) | 5 lines

made iser_free_device_ib_res() void, changed the goto label of
iser_device_find_by_ib_device() to be named "out" instead of "end".

Signed-off-by: Or Gerlitz <[EMAIL PROTECTED]>

_______________________________________________
openib-general mailing list
openib-general@openib.org
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to