mirror of https://gitee.com/openkylin/linux.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 <david.kershner@unisys.com> Reviewed-by: Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
b4a8e6ae17
commit
493d1597dd
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue