diff options
author | Catalina Mocanu | 2014-09-20 18:39:07 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-09-23 22:33:34 +0200 |
commit | 6905cae3a86f6411b62fda0c7a8e1c0d04eaef88 (patch) | |
tree | 68468fda4207167244dc6428197ad9b06190bdf4 | |
parent | Staging: iio: light: Use usleep_range instead of msleep (diff) | |
download | kernel-qcow2-linux-6905cae3a86f6411b62fda0c7a8e1c0d04eaef88.tar.gz kernel-qcow2-linux-6905cae3a86f6411b62fda0c7a8e1c0d04eaef88.tar.xz kernel-qcow2-linux-6905cae3a86f6411b62fda0c7a8e1c0d04eaef88.zip |
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), |