Re: [PATCH v2] x86,setup: Rename myisspace to isspace and move it to ctype.h
From: Borislav Petkov
Date: Sat Jan 03 2015 - 07:05:26 EST
On Sat, Jan 03, 2015 at 01:10:05PM +0600, Alexander Kuleshov wrote:
> Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
> ---
> arch/x86/boot/cmdline.c | 19 +++++++------------
> arch/x86/boot/ctype.h | 5 +++++
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
> diff --git a/arch/x86/boot/cmdline.c b/arch/x86/boot/cmdline.c
> index 625d21b..bc1e25f 100644
> --- a/arch/x86/boot/cmdline.c
> +++ b/arch/x86/boot/cmdline.c
> @@ -14,11 +14,6 @@
>
> #include "boot.h"
>
> -static inline int myisspace(u8 c)
> -{
> - return c <= ' '; /* Close enough approximation */
> -}
> -
This is called myisspace on purpose so that it doesn't get confused with
the libc version. This patch is unnecessary IMO.
--
Regards/Gruss,
Boris.
Sent from a fat crate under my desk. Formatting is fine.
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/