* [patch] prism54 remove unused macro
@ 2004-09-03 6:46 maximilian attems
0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2004-09-03 6:46 UTC (permalink / raw)
To: netdev, jgarzik
the TRACE macro was noticed because of it's string concatenation.
this patch removes it as it's unused.
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>
--- linux-2.6.9-rc1-bk7-orig/drivers/net/wireless/prism54/islpci_mgt.h 2004-08-14 12:54:51.000000000 +0200
+++ linux-2.6.9-rc1-bk7/drivers/net/wireless/prism54/islpci_mgt.h 2004-09-03 08:35:30.000000000 +0200
@@ -31,8 +31,6 @@
#define K_DEBUG(f, m, args...) do { if(f & m) printk(KERN_DEBUG args); } while(0)
#define DEBUG(f, args...) K_DEBUG(f, pc_debug, args)
-#define TRACE(devname) K_DEBUG(SHOW_TRACING, VERBOSE, "%s: -> " __FUNCTION__ "()\n", devname)
-
extern int pc_debug;
#define init_wds 0 /* help compiler optimize away dead code */
--- linux-2.6.9-rc1-bk7-orig/drivers/net/wireless/prism54/islpci_hotplug.c 2004-08-14 12:55:32.000000000 +0200
+++ linux-2.6.9-rc1-bk7/drivers/net/wireless/prism54/islpci_hotplug.c 2004-09-03 08:35:45.000000000 +0200
@@ -107,8 +107,6 @@ prism54_probe(struct pci_dev *pdev, cons
islpci_private *priv;
int rvalue;
- /* TRACE(DRV_NAME); */
-
/* Enable the pci device */
if (pci_enable_device(pdev)) {
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-03 6:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-03 6:46 [patch] prism54 remove unused macro maximilian attems
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).