From: David Kershner Date: Tue, 28 Mar 2017 13:34:55 +0000 (-0400) Subject: staging: unisys: visorbus: get rid of braces around single statements X-Git-Tag: v4.14-rc1~980^2~301 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=493d1597dd7029a1a5325748a262bb98696eb97d;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Reviewed-by: Tim Sell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/unisys/visorbus/visorbus_main.c b/drivers/staging/unisys/visorbus/visorbus_main.c index e094a50..4348072 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; }