From: Dan Carpenter Date: Mon, 19 Jul 2010 20:30:14 +0000 (+0000) Subject: RDMA/cxgb3: Clean up signed check of unsigned variable X-Git-Tag: v2.6.36-rc1~492^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d4f9a28e0f543e2a633d54f0f37f6e81a7701cd;p=pandora-kernel.git RDMA/cxgb3: Clean up signed check of unsigned variable Q_FREECNT() returns the number of spaces free. This should never be a negative amount. Also the num_wrs is an unsigned int so it can never be less than zero. Signed-off-by: Dan Carpenter Acked-by: Steve Wise Signed-off-by: Roland Dreier --- Reading git-diff-tree failed