[IPoIB] don't compile debug code if debugging isn't enabled
[firefly-linux-kernel-4.4.55.git] / drivers / infiniband / ulp / ipoib / ipoib_ib.c
index 0a6f578f18c87a4c804cf003e0a09c5cfaa70929..54ef2fea530f8494ba71882b1c5b4b20f8ff169f 100644 (file)
@@ -636,7 +636,6 @@ void ipoib_ib_dev_cleanup(struct net_device *dev)
  * Bug #2507. This implementation will probably be removed when the P_Key
  * change async notification is available.
  */
-int ipoib_open(struct net_device *dev);
 
 static void ipoib_pkey_dev_check_presence(struct net_device *dev)
 {