diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index b1629b571cb26997b53bd1dcae52eff7216cf96f..4923dd4232b3ea71fc6bffb685dc428c393dec5b 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -1335,7 +1335,7 @@ static int __init acpi_os_name_setup(char *str) if (!str || !*str) return 0; - for (; count-- && str && *str; str++) { + for (; count-- && *str; str++) { if (isalnum(*str) || *str == ' ' || *str == ':') *p++ = *str; else if (*str == '\'' || *str == '"')