]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
staging: unisys: fix braces coding style
authorAlessandro Parini <alessandro.parini@gmail.com>
Sat, 13 Jun 2015 15:40:48 +0000 (17:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 13 Jun 2015 21:46:38 +0000 (14:46 -0700)
fix coding style issue "braces {} are not necessary for single statement blocks"
detected by checkpatch.pl in visorchipset.c

Signed-off-by: Alessandro Parini <alessandro.parini@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index cf35d9d3a9bc8d3ced9028179d2a19c26b2a3ec0..ef7d67701499befe46a100c4544177f0bc7eb52f 100644 (file)
@@ -2017,9 +2017,8 @@ cleanup:
 static void
 bus_create_response(struct visor_device *bus_info, int response)
 {
-       if (response >= 0) {
+       if (response >= 0)
                bus_info->state.created = 1;
-       }
 
        bus_responder(CONTROLVM_BUS_CREATE, bus_info->pending_msg_hdr,
                      response);