[openib-general] [PATCH] [TRIVIAL] Remove unused variable (not debug) from ipoib_mutlicast.c

Hal Rosenstock halr at voltaire.com
Sat Nov 6 04:00:15 PST 2004


Remove unused variable (not debug) from ipoib_mutlicast.c
(This supercedes the previous version)

Index: ipoib_multicast.c
===================================================================
--- ipoib_multicast.c	(revision 1167)
+++ ipoib_multicast.c	(working copy)
@@ -259,7 +259,9 @@
 {
 	struct ipoib_mcast *mcast = mcast_ptr;
 	struct net_device *dev = mcast->dev;
+#ifdef CONFIG_INFINIBAND_IPOIB_DEBUG
 	struct ipoib_dev_priv *priv = netdev_priv(dev);
+#endif
 
 	if (!status)
 		ipoib_mcast_join_finish(mcast, mcmember);






More information about the general mailing list