Commit 05f608f2 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman
Browse files

staging: ozwpan: Remove old debug macro.



Remove old oz_trace & oz_trace2 macro & related header files.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarRupesh Gujare <rupesh.gujare@atmel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f724b584
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
# Copyright (c) 2011 Ozmo Inc
# Released under the GNU General Public License Version 2 (GPLv2).
# -----------------------------------------------------------------------------

obj-$(CONFIG_USB_WPAN_HCD) += ozwpan.o
ozwpan-y := \
	ozmain.o \
@@ -12,7 +13,4 @@ ozwpan-y := \
	ozeltbuf.o \
	ozproto.o \
	ozcdev.o \
	ozurbparanoia.o \
	oztrace.o

	ozurbparanoia.o
+0 −2
Original line number Diff line number Diff line
@@ -11,10 +11,8 @@
#include <linux/etherdevice.h>
#include <linux/poll.h>
#include <linux/sched.h>
#include "ozconfig.h"
#include "ozdbg.h"
#include "ozprotocol.h"
#include "oztrace.h"
#include "ozappif.h"
#include "ozeltbuf.h"
#include "ozpd.h"

drivers/staging/ozwpan/ozconfig.h

deleted100644 → 0
+0 −26
Original line number Diff line number Diff line
/* -----------------------------------------------------------------------------
 * Copyright (c) 2011 Ozmo Inc
 * Released under the GNU General Public License Version 2 (GPLv2).
 * ---------------------------------------------------------------------------*/
#ifndef _OZCONFIG_H
#define _OZCONFIG_H

/* #define WANT_TRACE */
#ifdef WANT_TRACE
#define WANT_VERBOSE_TRACE
#endif /* #ifdef WANT_TRACE */
/* #define WANT_URB_PARANOIA */

/* #define WANT_PRE_2_6_39 */

/* These defines determine what verbose trace is displayed. */
#ifdef WANT_VERBOSE_TRACE
/* #define WANT_TRACE_STREAM */
/* #define WANT_TRACE_URB */
/* #define WANT_TRACE_CTRL_DETAIL */
#define WANT_TRACE_HUB
/* #define WANT_TRACE_RX_FRAMES */
/* #define WANT_TRACE_TX_FRAMES */
#endif /* WANT_VERBOSE_TRACE */

#endif /* _OZCONFIG_H */
+0 −2
Original line number Diff line number Diff line
@@ -6,12 +6,10 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/netdevice.h>
#include "ozconfig.h"
#include "ozdbg.h"
#include "ozprotocol.h"
#include "ozeltbuf.h"
#include "ozpd.h"
#include "oztrace.h"

/*------------------------------------------------------------------------------
 */
+1 −6
Original line number Diff line number Diff line
@@ -32,9 +32,7 @@
#include "linux/usb/hcd.h"
#include <asm/unaligned.h>
#include "ozdbg.h"
#include "ozconfig.h"
#include "ozusbif.h"
#include "oztrace.h"
#include "ozurbparanoia.h"
#include "ozhcd.h"
/*------------------------------------------------------------------------------
@@ -797,7 +795,6 @@ void oz_hcd_get_desc_cnf(void *hport, u8 req_id, int status, const u8 *desc,
/*------------------------------------------------------------------------------
 * Context: softirq
 */
#ifdef WANT_TRACE
static void oz_display_conf_type(u8 t)
{
	switch (t) {
@@ -836,9 +833,7 @@ static void oz_display_conf_type(u8 t)
		break;
	}
}
#else
#define oz_display_conf_type(__x)
#endif /* WANT_TRACE */

/*------------------------------------------------------------------------------
 * Context: softirq
 */
Loading