|
@@ -281,8 +281,6 @@ void ipoib_delete_debug_files(struct net_device *dev)
|
|
{
|
|
{
|
|
struct ipoib_dev_priv *priv = ipoib_priv(dev);
|
|
struct ipoib_dev_priv *priv = ipoib_priv(dev);
|
|
|
|
|
|
- WARN_ONCE(!priv->mcg_dentry, "null mcg debug file\n");
|
|
|
|
- WARN_ONCE(!priv->path_dentry, "null path debug file\n");
|
|
|
|
debugfs_remove(priv->mcg_dentry);
|
|
debugfs_remove(priv->mcg_dentry);
|
|
debugfs_remove(priv->path_dentry);
|
|
debugfs_remove(priv->path_dentry);
|
|
priv->mcg_dentry = priv->path_dentry = NULL;
|
|
priv->mcg_dentry = priv->path_dentry = NULL;
|