From: maximilian attems <janitor@sternwelten.at>
To: netdev@oss.sgi.com, jgarzik@pobox.com
Subject: [patch] prism54 remove unused macro
Date: Fri, 3 Sep 2004 08:46:51 +0200 [thread overview]
Message-ID: <20040903064651.GB1856@stro.at> (raw)
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)) {
reply other threads:[~2004-09-03 6:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040903064651.GB1856@stro.at \
--to=janitor@sternwelten.at \
--cc=jgarzik@pobox.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).