summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys
diff options
context:
space:
mode:
authorAlessandro Parini2015-06-13 17:40:48 +0200
committerGreg Kroah-Hartman2015-06-13 23:46:38 +0200
commit4b4fd43a437626b45c0da21b373eedec38cc46fa (patch)
tree6708749b4e2fc37d6da892f085e7fd19b91c7d1c /drivers/staging/unisys
parentstaging: vme_user: remove buf_unalloc helper (diff)
downloadkernel-qcow2-linux-4b4fd43a437626b45c0da21b373eedec38cc46fa.tar.gz
kernel-qcow2-linux-4b4fd43a437626b45c0da21b373eedec38cc46fa.tar.xz
kernel-qcow2-linux-4b4fd43a437626b45c0da21b373eedec38cc46fa.zip
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: Alessandro Parini <alessandro.parini@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index cf35d9d3a9bc..ef7d67701499 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -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);