From: Johannes Berg <johannes@sipsolutions.net>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>,
linville@tuxdriver.com, linux-wireless@vger.kernel.org,
mickflemm@gmail.com, Christoph Hellwig <hch@infradead.org>
Subject: Re: [PATCH 1/2 try 2] Net: ath5k, split hw into hw, phy and initvals
Date: Mon, 24 Sep 2007 19:27:56 +0200 [thread overview]
Message-ID: <1190654876.18521.276.camel@johannes.berg> (raw)
In-Reply-To: <43e72e890709241024pd364c31k4a41c030f192cf0d@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
On Mon, 2007-09-24 at 13:24 -0400, Luis R. Rodriguez wrote:
> * ath5k_hw_set_rfgain_opt() is defined once and used once, can we
> instead make it inline? If we really are not going to re-use this
> later why do we put it into a routine on its own?
Why mark it inline then? The compiler will inline it anyway if it's only
used once. And I haven't looked at the code but making it an own routine
could possibly make the code more readable, especially if lots of
indentation is involved.`
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2007-09-24 17:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-24 9:02 [PATCH 1/2 try 2] Net: ath5k, split hw into hw, phy and initvals Jiri Slaby
2007-09-24 9:03 ` [PATCH 2/2 try 2] Net: ath5k, use int as retval Jiri Slaby
2007-09-24 17:24 ` [PATCH 1/2 try 2] Net: ath5k, split hw into hw, phy and initvals Luis R. Rodriguez
2007-09-24 17:27 ` Johannes Berg [this message]
2007-09-24 17:36 ` Christoph Hellwig
2007-09-24 17:51 ` Luis R. Rodriguez
2007-09-24 18:40 ` Jiri Slaby
2007-09-24 18:42 ` Jiri Slaby
2007-09-24 18:51 ` Luis R. Rodriguez
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=1190654876.18521.276.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=hch@infradead.org \
--cc=jirislaby@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
--cc=mickflemm@gmail.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