From 6905cae3a86f6411b62fda0c7a8e1c0d04eaef88 Mon Sep 17 00:00:00 2001 From: Catalina Mocanu Date: Sat, 20 Sep 2014 09:39:07 -0700 Subject: 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/visorutil/procobjecttree.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/unisys/visorutil/procobjecttree.c b/drivers/staging/unisys/visorutil/procobjecttree.c index 5c8c95c51519..c476036f7382 100644 --- a/drivers/staging/unisys/visorutil/procobjecttree.c +++ b/drivers/staging/unisys/visorutil/procobjecttree.c @@ -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), -- cgit v1.2.3-55-g7522