From: Roland Dreier Date: Thu, 3 Nov 2005 04:51:01 +0000 (-0800) Subject: [IPoIB] don't compile debug code if debugging isn't enabled X-Git-Tag: v2.6.15-rc1~726^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ae5a8a24f7fe797027d481f88c1464b0e47eede;p=pandora-kernel.git [IPoIB] don't compile debug code if debugging isn't enabled Don't build ipoib_mcast_iter_ functions if CONFIG_INFINIBAND_IPOIB_DEBUG is not enabled -- their only callers will not be built either. Also move the prototype for ipoib_open() to ipoib.h to fix a sparse warning. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed