[openib-general] [PATCH 1/2] ib_cm: cm_destroy_id() cleanup

Roland Dreier rdreier at cisco.com
Tue Jul 18 06:59:36 PDT 2006


 > +		cm_destroy_id(&cm_id_priv->id, (ret == -ENOMEM) ? 0 : 1);

This is rather obfuscated.  How about just

		cm_destroy_id(&cm_id_priv->id, ret != -ENOMEM);

 - R.




More information about the general mailing list