summaryrefslogtreecommitdiff
path: root/drivers/staging/gdm72xx/gdm_wimax.h
diff options
context:
space:
mode:
authorKristina Martšenko <kristina.martsenko@gmail.com>2014-03-14 23:10:04 (GMT)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>2014-03-17 02:53:58 (GMT)
commit4db02435652dad3233d347c0ba6d9dece8ff791a (patch)
tree19d24dd34cffddfb38409a485d61f0a46866ec95 /drivers/staging/gdm72xx/gdm_wimax.h
parent35db0350c5ef0d5f4d98f5da995aef0309e79fb7 (diff)
downloadlinux-4db02435652dad3233d347c0ba6d9dece8ff791a.tar.xz
staging: gdm72xx: use print_hex_dump_debug and remove debug macros
Since the kernel already has a function for hex dumps, use that instead of the driver's own versions. The function supports dynamic debugging, so also remove some unnecessary debug macros. Signed-off-by: Kristina Martšenko <kristina.martsenko@gmail.com> Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Diffstat (limited to 'drivers/staging/gdm72xx/gdm_wimax.h')
-rw-r--r--drivers/staging/gdm72xx/gdm_wimax.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/staging/gdm72xx/gdm_wimax.h b/drivers/staging/gdm72xx/gdm_wimax.h
index 6ec0ab4..7b603f8 100644
--- a/drivers/staging/gdm72xx/gdm_wimax.h
+++ b/drivers/staging/gdm72xx/gdm_wimax.h
@@ -62,23 +62,7 @@ struct nic {
};
-
-#if 0
-#define dprintk(fmt, args ...) printk(KERN_DEBUG " [GDM] " fmt, ## args)
-#else
-#define dprintk(...)
-#endif
-
/*#define DEBUG_SDU */
-#if defined(DEBUG_SDU)
-#define DUMP_SDU_ALL (1<<0)
-#define DUMP_SDU_ARP (1<<1)
-#define DUMP_SDU_IP (1<<2)
-#define DUMP_SDU_IP_TCP (1<<8)
-#define DUMP_SDU_IP_UDP (1<<9)
-#define DUMP_SDU_IP_ICMP (1<<10)
-#define DUMP_PACKET (DUMP_SDU_ALL)
-#endif
/*#define DEBUG_HCI */