mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
committed by
Greg Kroah-Hartman
parent
84b11dfd1e
commit
9a174ad446
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user