lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 24 Jul 2009 17:25:05 +0800
From:	Amerigo Wang <xiyou.wangcong@...il.com>
To:	Trevor Pace <trevorpace@...il.com>
Cc:	tglx@...utronix.de, mingo@...hat.com, linux-kernel@...r.kernel.org
Subject: Re: PATCH: Removed useless variable in arch/x86/boot/tty.c puts()

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@....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@...r.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ