summaryrefslogtreecommitdiffstats
path: root/drivers/uwb/uwb-debug.c
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@csr.com>2008-11-17 16:16:51 +0000
committerDavid Vrabel <david.vrabel@csr.com>2008-11-19 14:47:04 +0000
commite8e1594c8126b1b773988fa2e3bfec76cff88336 (patch)
treeafa666ce45d8652880855b04a26755e4e5182e01 /drivers/uwb/uwb-debug.c
parent6fae35f9cea92793a98b2d9ab21235e5ae035581 (diff)
downloadop-kernel-dev-e8e1594c8126b1b773988fa2e3bfec76cff88336.zip
op-kernel-dev-e8e1594c8126b1b773988fa2e3bfec76cff88336.tar.gz
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 0e58071a..e02fb83 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)
OpenPOWER on IntegriCloud