From: Krishna Kumar Date: Thu, 9 Nov 2006 04:00:48 +0000 (+0530) Subject: RDMA/iwcm: Fix comment for iwcm_deref_id() to match code X-Git-Tag: v2.6.20-rc1~34^2~40^2~471^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ab1ffa8775d9c677b1301cccce8a7d91e5163d0;p=pandora-kernel.git RDMA/iwcm: Fix comment for iwcm_deref_id() to match code In iwcm_deref_id(), the comment says : "If the last reference is being removed and iw_destroy_cm_id is waiting, wake up the waiting thread". The second part of the comment, "and iw_destroy_cm_id is waiting," is wrong, since this function either wakes the waiter already waiting in iwcm_deref_id, or enables it (so that when wait_for_completion() is performed later, it will immediately return). Signed-off-by: Krishna Kumar Acked-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed