staging: vchiq: remove braces from if block
Remove unnecessary braces from if block. Reported by checkpatch.pl Signed-off-by: Gaston Gonzalez <gascoar@gmail.com> Link: https://lore.kernel.org/r/20210915202916.413914-1-gascoar@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
08ff647b83
commit
5b3087efe0
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user