summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/uwb-debug.c
diff options
context:
space:
mode:
authorDavid Vrabel2008-11-17 17:16:51 +0100
committerDavid Vrabel2008-11-19 15:47:04 +0100
commite8e1594c8126b1b773988fa2e3bfec76cff88336 (patch)
treeafa666ce45d8652880855b04a26755e4e5182e01 /drivers/uwb/uwb-debug.c
parentuwb: add basic radio manager (diff)
downloadkernel-qcow2-linux-e8e1594c8126b1b773988fa2e3bfec76cff88336.tar.gz
kernel-qcow2-linux-e8e1594c8126b1b773988fa2e3bfec76cff88336.tar.xz
kernel-qcow2-linux-e8e1594c8126b1b773988fa2e3bfec76cff88336.zip
wlp: start/stop radio on network interface up/down
Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'drivers/uwb/uwb-debug.c')
-rw-r--r--drivers/uwb/uwb-debug.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/uwb/uwb-debug.c b/drivers/uwb/uwb-debug.c
index 0e58071a232d..e02fb83469d5 100644
--- a/drivers/uwb/uwb-debug.c
+++ b/drivers/uwb/uwb-debug.c
@@ -33,8 +33,6 @@
#include <linux/seq_file.h>
#include <linux/uwb/debug-cmd.h>
-#define D_LOCAL 0
-#include <linux/uwb/debug.h>
#include "uwb-internal.h"
@@ -314,7 +312,6 @@ static struct file_operations drp_avail_fops = {
static void uwb_dbg_channel_changed(struct uwb_pal *pal, int channel)
{
- struct uwb_dbg *dbg = container_of(pal, struct uwb_dbg, pal);
struct device *dev = &pal->rc->uwb_dev.dev;
if (channel > 0)