Commit 9a174ad4 authored by Frederico Cadete's avatar Frederico Cadete Committed by Greg Kroah-Hartman

staging: unisys: style: remove unnecessary braces

Signed-off-by: default avatarFrederico Cadete <frederico@cadete.eu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84b11dfd
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment