staging : unisys: Fix brace coding style issue

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Andreas Theodosiou 2015-04-05 02:09:30 +03:00 committed by Greg Kroah-Hartman
parent 3b2f5202c5
commit 9c4e936abf
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}