staging: vchiq_dev: 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/20210912133751.269885-1-gascoar@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Gaston Gonzalez 2021-09-12 10:37:50 -03:00 committed by Greg Kroah-Hartman
parent d4466db8ab
commit cfb24b67bf

View file

@ -447,9 +447,8 @@ static int vchiq_ioc_await_completion(struct vchiq_instance *instance,
DEBUG_INITIALISE(g_state.local)
DEBUG_TRACE(AWAIT_COMPLETION_LINE);
if (!instance->connected) {
if (!instance->connected)
return -ENOTCONN;
}
mutex_lock(&instance->completion_mutex);