* [PATCH] staging : unisys: Fix brace coding style issue
@ 2015-04-04 23:09 Andreas Theodosiou
0 siblings, 0 replies; only message in thread
From: Andreas Theodosiou @ 2015-04-04 23:09 UTC (permalink / raw)
To: benjamin.romer, david.kershner, gregkh, bryan.thompson, conflatulence
Cc: sparmaintainer, devel, linux-kernel, kernel-janitors, Andreas Theodosiou
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 <andreasabu@gmail.com>
---
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-04-04 23:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-04 23:09 [PATCH] staging : unisys: Fix brace coding style issue Andreas Theodosiou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome