aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorDavid Kershner <david.kershner@unisys.com>2017-03-28 09:34:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-29 09:17:03 +0200
commit493d1597dd7029a1a5325748a262bb98696eb97d (patch)
tree5c2455f4a05a6e4815d6a67b85a687e8008a2841 /drivers/staging/unisys
parentstaging: unisys: visorbus: add error handling to chipset_device_pause/resume (diff)
downloadlinux-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.c4
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;
}