diff options
author | David Kershner <david.kershner@unisys.com> | 2017-03-28 09:34:55 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-29 09:17:03 +0200 |
commit | 493d1597dd7029a1a5325748a262bb98696eb97d (patch) | |
tree | 5c2455f4a05a6e4815d6a67b85a687e8008a2841 /drivers/staging/unisys | |
parent | staging: unisys: visorbus: add error handling to chipset_device_pause/resume (diff) | |
download | linux-dev-493d1597dd7029a1a5325748a262bb98696eb97d.tar.xz linux-dev-493d1597dd7029a1a5325748a262bb98696eb97d.zip |
staging: unisys: visorbus: get rid of braces around single statements
Remove braces around single line if statements, they are not needed.
Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r-- | drivers/staging/unisys/visorbus/visorbus_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index e094a506efc9..4348072211a7 100644 --- a/drivers/staging/unisys/visorbus/visorbus_main.c +++ b/drivers/staging/unisys/visorbus/visorbus_main.c @@ -710,9 +710,9 @@ get_vbus_header_info(struct visorchannel *chan, return -EINVAL; if (hdr_info->device_info_struct_bytes < - sizeof(struct ultra_vbus_deviceinfo)) { + sizeof(struct ultra_vbus_deviceinfo)) return -EINVAL; - } + return 0; } |