Skip to content

Commit

Permalink
cw1200: Remove "ITP" debug subsystem.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Solomon Peachy authored and John W. Linville committed Jun 11, 2013
1 parent 10af87c commit fa8eeae
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 905 deletions.
5 changes: 0 additions & 5 deletions drivers/net/wireless/cw1200/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ config CW1200_ETF
help
If you don't know what this is, just say N.

config CW1200_ITP
bool "Enable ITP access"
help
If you don't know what this is, just say N.

endmenu

endif
1 change: 0 additions & 1 deletion drivers/net/wireless/cw1200/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ cw1200_core-y := \
sta.o \
scan.o \
debug.o
cw1200_core-$(CONFIG_CW1200_ITP) += itp.o
cw1200_core-$(CONFIG_PM) += pm.o

# CFLAGS_sta.o += -DDEBUG
Expand Down
6 changes: 1 addition & 5 deletions drivers/net/wireless/cw1200/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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);
}
Expand Down
5 changes: 0 additions & 5 deletions drivers/net/wireless/cw1200/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
#ifndef CW1200_DEBUG_H_INCLUDED
#define CW1200_DEBUG_H_INCLUDED

#include "itp.h"

struct cw1200_debug_priv {
struct dentry *debugfs_phy;
int tx;
Expand All @@ -30,9 +28,6 @@ struct cw1200_debug_priv {
int ba_acc;
int ba_cnt_rx;
int ba_acc_rx;
#ifdef CONFIG_CW1200_ITP
struct cw1200_itp itp;
#endif /* CONFIG_CW1200_ITP */
};

int cw1200_debug_init(struct cw1200_common *priv);
Expand Down
Loading

0 comments on commit fa8eeae

Please sign in to comment.