mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 15:13:44 -04:00
staging: unisys: visorutil: remove unnecessary braces
This fixes the following checkpatch.pl warning:
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
890d228fd9
commit
6905cae3a8
@@ -250,9 +250,8 @@ MYPROCOBJECT *visor_proc_CreateObject(MYPROCTYPE *type,
|
||||
}
|
||||
strcpy(obj->name, name);
|
||||
obj->procDir = createProcDir(obj->name, type->procDir);
|
||||
if (obj->procDir == NULL) {
|
||||
if (obj->procDir == NULL)
|
||||
goto Away;
|
||||
}
|
||||
}
|
||||
obj->procDirPropertyContexts =
|
||||
kzalloc((type->nProperties + 1) * sizeof(PROCDIRENTRYCONTEXT),
|
||||
|
||||
Reference in New Issue
Block a user