Commit 5b3087ef authored by Gaston Gonzalez's avatar Gaston Gonzalez Committed by Greg Kroah-Hartman

staging: vchiq: remove braces from if block

Remove unnecessary braces from if block.

Reported by checkpatch.pl
Signed-off-by: default avatarGaston Gonzalez <gascoar@gmail.com>
Link: https://lore.kernel.org/r/20210915202916.413914-1-gascoar@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 08ff647b
......@@ -17,9 +17,8 @@ static DEFINE_MUTEX(g_connected_mutex);
/* Function to initialize our lock */
static void connected_init(void)
{
if (!g_once_init) {
if (!g_once_init)
g_once_init = 1;
}
}
/*
......
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