[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1501225507-24913-1-git-send-email-jananis37@gmail.com>
Date: Fri, 28 Jul 2017 12:35:07 +0530
From: janani-sankarababu <jananis37@...il.com>
To: mingo@...nel.org
Cc: akpm@...ux-foundation.org, keescook@...omium.org, jeyu@...hat.com,
tglx@...utronix.de, rostedt@...dmis.org, viresh.kumar@...aro.org,
tj@...nel.org, prarit@...hat.com, lokeshvutla@...com,
linux-kernel@...r.kernel.org,
janani-sankarababu <jananis37@...il.com>
Subject: [PATCH V3] init:main.c: Fix:Issues in Block comment & if block
This patch Fixes the improper block comments and if block where it is unnecessary to add single line of code in curly braces
Signed-off-by: Janani S <jananis37@...il.com>
---
init/main.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/init/main.c b/init/main.c
index 052481f..f8eb4966 100644
--- a/init/main.c
+++ b/init/main.c
@@ -181,7 +181,8 @@ static bool __init obsolete_checksetup(char *line)
/* Already done in parse_early_param?
* (Needs exact match on param part).
* Keep iterating, as we can have early
- * params and __setups of same names 8( */
+ * params and __setups of same names
+ */
if (line[n] == '\0' || line[n] == '=')
had_early_param = true;
} else if (!p->setup_func) {
@@ -693,9 +694,9 @@ asmlinkage __visible void __init start_kernel(void)
arch_post_acpi_subsys_init();
sfi_init_late();
- if (efi_enabled(EFI_RUNTIME_SERVICES)) {
+ if (efi_enabled(EFI_RUNTIME_SERVICES))
efi_free_boot_services();
- }
+
/* Do the rest non-__init'ed, we're now alive */
rest_init();
--
1.9.1
Powered by blists - more mailing lists