| To: | Jeff Garzik <jgarzik@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 1/5] sis900 printk and stack usage audit |
| From: | Daniele Venzano <webvenza@xxxxxxxxx> |
| Date: | Sun, 12 Dec 2004 09:15:09 +0100 |
| Cc: | Daniele Venzano <webvenza@xxxxxxxxx>, NetDev <netdev@xxxxxxxxxxx> |
| In-reply-to: | <41BB452D.5040507@pobox.com> |
| Mail-followup-to: | Jeff Garzik <jgarzik@xxxxxxxxx>, Daniele Venzano <webvenza@xxxxxxxxx>, NetDev <netdev@xxxxxxxxxxx> |
| References: | <20041208104721.GA31707@picchio.gall.it> <20041208110156.GB31707@picchio.gall.it> <41BB452D.5040507@pobox.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sat, Dec 11, 2004 at 02:06:21PM -0500, Jeff Garzik wrote: > >@@ -390,13 +390,6 @@ > > u8 revision; > > char *card_name = card_names[pci_id->driver_data]; > > > >-/* when built into the kernel, we only print version if device is found */ > >-#ifndef MODULE > >- static int printed_version; > >- if (!printed_version++) > >- printk(version); > >-#endif > >- > > /* setup various bits in PCI command register */ > > ret = pci_enable_device(pci_dev); > > if(ret) return ret; > > There is no double-printing. One is #ifndef MODULE, one is #ifdef MODULE. > > Did you read the comment included in the code you deleted??? My bad, dropped. -- ----------------------------- Daniele Venzano Web: http://teg.homeunix.org |
| Previous by Date: | [patch] remove unused CONFIG_E100_NAPI, Jason Lunz |
|---|---|
| Next by Date: | Re: [PATCH 2/5] sis900 printk and stack usage audit, Daniele Venzano |
| Previous by Thread: | Re: [PATCH 1/5] sis900 printk and stack usage audit, Jeff Garzik |
| Next by Thread: | [PATCH 2/5] sis900 printk and stack usage audit, Daniele Venzano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |