staging: unisys: style: remove unnecessary braces

Signed-off-by: Frederico Cadete <frederico@cadete.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Frederico Cadete 2015-02-18 19:53:41 +01:00 committed by Greg Kroah-Hartman
parent 84b11dfd1e
commit 9a174ad446

View file

@ -416,9 +416,8 @@ signalremove_inner(struct visorchannel *channel, u32 queue, void *msg)
{
struct signal_queue_header sig_hdr;
if (!sig_read_header(channel, queue, &sig_hdr)) {
if (!sig_read_header(channel, queue, &sig_hdr))
return FALSE;
}
if (sig_hdr.head == sig_hdr.tail)
return FALSE; /* no signals to remove */
@ -466,9 +465,8 @@ signalinsert_inner(struct visorchannel *channel, u32 queue, void *msg)
{
struct signal_queue_header sig_hdr;
if (!sig_read_header(channel, queue, &sig_hdr)) {
if (!sig_read_header(channel, queue, &sig_hdr))
return FALSE;
}
sig_hdr.head = ((sig_hdr.head + 1) % sig_hdr.max_slots);
if (sig_hdr.head == sig_hdr.tail) {