From: Roland Dreier Date: Tue, 10 Jul 2007 18:18:34 +0000 (-0700) Subject: IPoIB/cm: Fix warning if IPV6 is not enabled X-Git-Tag: v2.6.23-rc1~1085^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20089ca55786a243c7b72becd1bf670f4e2c2028;p=pandora-kernel.git IPoIB/cm: Fix warning if IPV6 is not enabled Fix drivers/infiniband/ulp/ipoib/ipoib_cm.c:1151: warning: unused variable 'dev' by getting rid of the variable dev, which is only used if CONFIG_IPV6 is enabled, and replacing the one use of it with the value it is assigned, namely priv->dev. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed