summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/cw1200/debug.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2013-06-11 09:49:38 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-11 12:48:09 -0400
commitfa8eeae102570dfdf3fd14347a0671cff8a2cfe4 (patch)
treeca1b00c366d61422ecd033c0e3f6a8a977440070 /drivers/net/wireless/cw1200/debug.c
parent10af87c3d99112b3ca279cadd874cd542e4f6699 (diff)
cw1200: Remove "ITP" debug subsystem.
This can live on as an out-of-tree patch for those that care. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/cw1200/debug.c')
-rw-r--r--drivers/net/wireless/cw1200/debug.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/cw1200/debug.c b/drivers/net/wireless/cw1200/debug.c
index 1596b7042cb..ac9c219c633 100644
--- a/drivers/net/wireless/cw1200/debug.c
+++ b/drivers/net/wireless/cw1200/debug.c
@@ -559,10 +559,6 @@ int cw1200_debug_init(struct cw1200_common *priv)
priv, &fops_wsm_dumps))
goto err;
- ret = cw1200_itp_init(priv);
- if (ret)
- goto err;
-
return 0;
err:
@@ -576,7 +572,7 @@ void cw1200_debug_release(struct cw1200_common *priv)
{
struct cw1200_debug_priv *d = priv->debug;
if (d) {
- cw1200_itp_release(priv);
+ debugfs_remove_recursive(d->debugfs_phy);
priv->debug = NULL;
kfree(d);
}