LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] Arch: alpha: boot: fixed a brace coding style issue
@ 2015-02-05 20:30 Pierre Chevalier
  0 siblings, 0 replies; only message in thread
From: Pierre Chevalier @ 2015-02-05 20:30 UTC (permalink / raw)
  To: rth; +Cc: linux-alpha, linux-kernel, Pierre Chevalier

Fixed a coding style issue.

Signed-off-by: Pierre Chevalier <pierrechevalier83@gmail.com>
---
 arch/alpha/boot/bootp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/alpha/boot/bootp.c b/arch/alpha/boot/bootp.c
index 2a542a5..c2b3bce 100644
--- a/arch/alpha/boot/bootp.c
+++ b/arch/alpha/boot/bootp.c
@@ -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);
 
-- 
2.2.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-02-05 20:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-05 20:30 [PATCH] Arch: alpha: boot: fixed a brace coding style issue Pierre Chevalier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).