Skip to contentSkip to conversation

Arch: alpha: boot: fixed a brace coding style issue

PATCH New Pierre Chevalier 1 participant 1 message Feb 5, 2015 Alpha port

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Arch: alpha: boot: fixed a brace coding style issue

Fixed a coding style issue.

---
 arch/alpha/boot/bootp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/alpha/boot/bootp.c +1 -2
index 2a542a5..c2b3bce 100644
@@ -177,9 +177,8 @@ start_kernel(void)
 	move_stack(initrd_start - PAGE_SIZE);
 
 	nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval));
-	if (nbytes < 0 || nbytes >= sizeof(envval)) {
+	if (nbytes < 0 || nbytes >= sizeof(envval))
 		nbytes = 0;
-	}
 	envval[nbytes] = '\0';
 	srm_printk("Loading the kernel...'%s'\n", envval);
 
Signature · 1 line
2.2.2