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:
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),
|
||||
|
Loading…
Reference in New Issue
Block a user