Commit 4b4fd43a authored by Alessandro Parini's avatar Alessandro Parini Committed by Greg Kroah-Hartman

staging: unisys: fix braces coding style

fix coding style issue "braces {} are not necessary for single statement blocks"
detected by checkpatch.pl in visorchipset.c
Signed-off-by: default avatarAlessandro Parini <alessandro.parini@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 625a9e01
...@@ -2017,9 +2017,8 @@ setup_crash_devices_work_queue(struct work_struct *work) ...@@ -2017,9 +2017,8 @@ setup_crash_devices_work_queue(struct work_struct *work)
static void static void
bus_create_response(struct visor_device *bus_info, int response) bus_create_response(struct visor_device *bus_info, int response)
{ {
if (response >= 0) { if (response >= 0)
bus_info->state.created = 1; bus_info->state.created = 1;
}
bus_responder(CONTROLVM_BUS_CREATE, bus_info->pending_msg_hdr, bus_responder(CONTROLVM_BUS_CREATE, bus_info->pending_msg_hdr,
response); response);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment