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 cf35d9d..ef7d677 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);