staging: unisys: visorbus: get rid of braces around single statements
authorDavid Kershner <david.kershner@unisys.com>
Tue, 28 Mar 2017 13:34:55 +0000 (09:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:17:03 +0000 (09:17 +0200)
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>
drivers/staging/unisys/visorbus/visorbus_main.c

index e094a506efc91f2256877f10b6e3656baa0258e6..4348072211a749b0fb167e6dedf9c9742bcdf608 100644 (file)
@@ -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;
 }