From: Amerigo Wang <xiyou.wangcong@gmail.com>
To: Trevor Pace <trevorpace@gmail.com>
Cc: tglx@linutronix.de, mingo@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: PATCH: Removed useless variable in arch/x86/boot/tty.c puts()
Date: Fri, 24 Jul 2009 17:25:05 +0800 [thread overview]
Message-ID: <20090724092505.GD6372@cr0.nay.redhat.com> (raw)
In-Reply-To: <bad58e960907221751h4520c359u47b29edd77f02db1@mail.gmail.com>
On Wed, Jul 22, 2009 at 09:51:28PM -0300, Trevor Pace wrote:
>Change: Removed needless counting integer.
>
>Applies to kernel version 2.6.30.2.
>
This was already done by HPA, please check the latest Linus tree.
Thanks.
>Signed-off-by: Trevor Pace <tr212206@dal.ca>
>
>=====================================================================
>
>--- arch/x86/boot/tty.c 2009-07-22 19:59:33.000000000 -0300
>+++ arch/x86/boot/tty.c 2009-07-22 21:37:25.000000000 -0300
>@@ -35,11 +35,8 @@ void __attribute__((section(".inittext")
>
> void __attribute__((section(".inittext"))) puts(const char *str)
> {
>- int n = 0;
>- while (*str) {
>+ while (*str)
> putchar(*str++);
>- n++;
>- }
> }
>
> /*
>--
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at http://www.tux.org/lkml/
prev parent reply other threads:[~2009-07-24 9:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-23 0:51 Trevor Pace
2009-07-24 9:25 ` Amerigo Wang [this message]
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=20090724092505.GD6372@cr0.nay.redhat.com \
--to=xiyou.wangcong@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
--cc=trevorpace@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
Powered by JetHome