From: Adrian Bunk <bunk@stusta.de>
To: David Brownell <david-b@pacbell.net>
Cc: dbrownell@users.sourceforge.net, greg@kroah.com,
linux-usb-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [2.6 patch] usbnet.c: remove an unused function
Date: Sat, 30 Oct 2004 01:27:42 +0200 [thread overview]
Message-ID: <20041029232742.GE6677@stusta.de> (raw)
In-Reply-To: <200410291617.30136.david-b@pacbell.net>
On Fri, Oct 29, 2004 at 04:17:30PM -0700, David Brownell wrote:
> On Thursday 28 October 2004 17:28, Adrian Bunk wrote:
> > [ this time without the problems due to a digital signature... ]
> >
> > The patch below removes an unused function from drivers/usb/net/usbnet.c
>
> Actually in this case I'd rather leave the function there;
> the documentation on this chip is hard to find, and this
> function will be needed when someone finally spends the time
> to fix some of the init/reset handshake issues for these
> PL2301/2302 chips. The current init code cloned some
> very ancient code from about the 2.2.10 (!) or so kernel.
>...
OK.
> - Dave
>
> p.s. Last I looked, GCC ignored unused inlines; no code
> generated, no warnings. Did that change?
>...
It didn't change.
But there are three different possible reactions on my patches:
1. ACK, kill this dead code
2. ups, I really wanted to use this function
3. please keep, code using this function will/might follow in the future
Case 1 is the most common case (and this simply removes some dead code).
I had until now two times case 2 (which means the code is now better).
You are the first person for case 3.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
next prev parent reply other threads:[~2004-10-29 23:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 23:24 [2.6 patch] usbnet.c: remove an unused function Adrian Bunk
2004-10-29 0:28 ` Adrian Bunk
2004-10-29 23:17 ` David Brownell
2004-10-29 23:27 ` Adrian Bunk [this message]
2004-10-30 0:37 ` [linux-usb-devel] " David Brownell
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=20041029232742.GE6677@stusta.de \
--to=bunk@stusta.de \
--cc=david-b@pacbell.net \
--cc=dbrownell@users.sourceforge.net \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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