From: Pavel Machek <pavel@ucw.cz>
To: kernel list <linux-kernel@vger.kernel.org>,
Rusty trivial patch monkey Russell <trivial@rustcorp.com.au>
Subject: trivial: pcnet32 whitespace
Date: Sun, 26 May 2002 20:30:56 +0200 [thread overview]
Message-ID: <20020526183056.GA10669@elf.ucw.cz> (raw)
Hi!
Kill extra whitespace, make gcc command look like it could work (used to be prehistoric).
--- clean/drivers/net/pcnet32.c Thu Apr 18 22:45:38 2002
+++ linux-swsusp/drivers/net/pcnet32.c Fri May 3 00:08:35 2002
@@ -453,8 +454,6 @@
reset: pcnet32_dwio_reset
};
-
-
/* only probes for non-PCI devices, the rest are handled by
* pci_register_driver via pcnet32_probe_pci */
@@ -583,12 +582,6 @@
*/
/* switch to home wiring mode */
media = a->read_bcr(ioaddr, 49);
-#if 0
- if (pcnet32_debug > 2)
- printk(KERN_DEBUG PFX "media value %#x.\n", media);
- media &= ~3;
- media |= 1;
-#endif
if (pcnet32_debug > 2)
printk(KERN_DEBUG PFX "media reset to %#x.\n", media);
a->write_bcr(ioaddr, 49, media);
@@ -1721,12 +1748,12 @@
}
}
module_init(pcnet32_init_module);
module_exit(pcnet32_cleanup_module);
/*
* Local variables:
- * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -m486 -c pcnet32.c"
+ * compile-command: "gcc -D__KERNEL__ -I/usr/src/linux/include/linux -Wall -Wstrict-prototypes -O2 -m486 -c pcnet32.c"
* c-indent-level: 4
* tab-width: 8
* End:
--
(about SSSCA) "I don't say this lightly. However, I really think that the U.S.
no longer is classifiable as a democracy, but rather as a plutocracy." --hpa
next reply other threads:[~2002-05-26 18:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-26 18:30 Pavel Machek [this message]
2002-05-26 18:41 ` trivial: pcnet32 whitespace Dave Jones
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=20020526183056.GA10669@elf.ucw.cz \
--to=pavel@ucw.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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