Skip to contentSkip to conversation

Staging: arch/x86/kernel/setup.c : fixed empty line style issue

PATCH In review Kishore Karanala 2 participants 2 messages Feb 11, 2017 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: arch/x86/kernel/setup.c : fixed empty line style issue

From: Kishore <[email protected]>

Fixed empty line style issue

---
 arch/x86/kernel/setup.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/kernel/setup.c +0 -2
index 4cfba94..6d35649 100644
@@ -723,7 +723,6 @@ static void __init trim_snb_memory(void)
 	 * already been reserved.
 	 */
 	memblock_reserve(0, 1<<20);
-	
 	for (i = 0; i < ARRAY_SIZE(bad_pages); i++) {
 		if (memblock_reserve(bad_pages[i], PAGE_SIZE))
 			printk(KERN_WARNING "failed to reserve 0x%08lx\n",
@@ -815,7 +814,6 @@ static void __init trim_low_memory_range(void)
 {
 	memblock_reserve(0, ALIGN(reserve_low, PAGE_SIZE));
 }
-	
 /*
  * Dump out kernel offset information on panic.
  */
Signature · 1 line
2.7.4
#1 lore raw
Quoted 3 lines · Kishore Karanala

From: Kishore <[email protected]>

Fixed empty line style issue

What? There is no issue. These empty lines are entirely correct and removing them is just hurting readability.

Thanks,

tglx

Quoted 29 lines
---
 arch/x86/kernel/setup.c | 2 --
 1 file changed, 2 deletions(-)
arch/x86/kernel/setup.c +0 -2
index 4cfba94..6d35649 100644
@@ -723,7 +723,6 @@ static void __init trim_snb_memory(void)
 	 * already been reserved.
 	 */
 	memblock_reserve(0, 1<<20);
-	
 	for (i = 0; i < ARRAY_SIZE(bad_pages); i++) {
 		if (memblock_reserve(bad_pages[i], PAGE_SIZE))
 			printk(KERN_WARNING "failed to reserve 0x%08lx\n",
@@ -815,7 +814,6 @@ static void __init trim_low_memory_range(void)
 {
 	memblock_reserve(0, ALIGN(reserve_low, PAGE_SIZE));
 }
-	
 /*
  * Dump out kernel offset information on panic.
  */
Signature · 1 line
2.7.4