Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752718AbbDDXLY (ORCPT ); Sat, 4 Apr 2015 19:11:24 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:35656 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752528AbbDDXLW (ORCPT ); Sat, 4 Apr 2015 19:11:22 -0400 From: Andreas Theodosiou To: benjamin.romer@unisys.com, david.kershner@unisys.com, gregkh@linuxfoundation.org, bryan.thompson@unisys.com, conflatulence@gmail.com Cc: sparmaintainer@unisys.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Andreas Theodosiou Subject: [PATCH] staging : unisys: Fix brace coding style issue Date: Sun, 5 Apr 2015 02:09:30 +0300 Message-Id: <1428188970-30871-1-git-send-email-andreasabu@gmail.com> X-Mailer: git-send-email 2.3.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1651 Lines: 42 This is a patch to visorchannel/visorchannel_funcs.c that fixes a couple of brace warnings found by checkpatch.pl. Signed-off-by: Andreas Theodosiou --- drivers/staging/unisys/visorchannel/visorchannel_funcs.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c index 7a9a724..9ae5f75 100644 --- a/drivers/staging/unisys/visorchannel/visorchannel_funcs.c +++ b/drivers/staging/unisys/visorchannel/visorchannel_funcs.c @@ -405,9 +405,8 @@ signalremove_inner(struct visorchannel *channel, u32 queue, void *msg) return FALSE; /* no signals to remove */ sig_hdr.tail = (sig_hdr.tail + 1) % sig_hdr.max_slots; - if (!sig_read_data(channel, queue, &sig_hdr, sig_hdr.tail, msg)) { + if (!sig_read_data(channel, queue, &sig_hdr, sig_hdr.tail, msg)) return FALSE; - } sig_hdr.num_received++; /* For each data field in SIGNAL_QUEUE_HEADER that was modified, @@ -470,9 +469,8 @@ signalinsert_inner(struct visorchannel *channel, u32 queue, void *msg) mb(); /* required for channel synch */ if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, head)) return FALSE; - if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, num_sent)) { + if (!SIG_WRITE_FIELD(channel, queue, &sig_hdr, num_sent)) return FALSE; - } return TRUE; } -- 2.3.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/