This removes a compile warning : "is_ud might be used uninitialized in this function".
Signed-off-by: Krishna Kumar <[EMAIL PROTECTED]>
---
diff -ruNp 1/core/uverbs_cmd.c 2/core/uverbs_cmd.c
--- 1/core/uverbs_cmd.c 2006-06-20 10:14:46.000000000 +0530
+++ 2/core/uverbs_cmd.c 2006-06-20 10:23:50.000000000 +0530
@@ -1530,7 +1530,6 @@ ssize_t ib_uverbs_post_send(struct ib_uv
out_put:
put_qp_read(qp);
-out:
while (wr) {
if (is_ud && wr->wr.ud.ah)
put_ah_read(wr->wr.ud.ah);
@@ -1539,6 +1538,7 @@ out:
wr = next;
}
+out:
kfree(user_wr);
return ret ? ret : in_len;
diff.
Description: Binary data
_______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
