From: Bryan Thompson Date: Thu, 6 Nov 2014 19:13:11 +0000 (-0500) Subject: staging: unisys: visorchannel: Add braces to else arm of if/else statement X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=f36b9dfed7da05e327ca22b44468a29623922c4e;p=deliverable%2Flinux.git staging: unisys: visorchannel: Add braces to else arm of if/else statement Add braces to the else arm of an if/else block in visorchannel_funcs.c Signed-off-by: Bryan Thompson Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c index a0fd358e0c28..36559d5fa673 100644 --- a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c +++ b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c @@ -596,8 +596,9 @@ visorchannel_debug(VISORCHANNEL *channel, int nQueues, if (off == 0) { phdr = &channel->chan_hdr; seq_puts(seq, "(following data may be stale)\n"); - } else + } else { return; + } } nbytes = (ulong)(phdr->size); seq_printf(seq, "--- Begin channel @0x%-16.16Lx for 0x%lx bytes (region=0x%lx bytes) ---\n",