diff options
| author | Catalina Mocanu <catalina.mocanu@gmail.com> | 2014-09-20 09:39:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-23 13:33:34 -0700 |
| commit | 6905cae3a86f6411b62fda0c7a8e1c0d04eaef88 (patch) | |
| tree | 68468fda4207167244dc6428197ad9b06190bdf4 | |
| parent | 890d228fd901db88c4a79dbe8cd95aec8a0e57cd (diff) | |
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>
| -rw-r--r-- | drivers/staging/unisys/visorutil/procobjecttree.c | 3 |
1 files changed, 1 insertions, 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), |
