summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/visorbus/visorchipset.c
diff options
context:
space:
mode:
authorDavid Kershner2017-09-27 19:14:06 +0200
committerGreg Kroah-Hartman2017-09-28 11:17:12 +0200
commit977980ac59637f34228629658c05cb1aeb7eba60 (patch)
treea96003d633a829945608b3131107c9bd842ee70f /drivers/staging/unisys/visorbus/visorchipset.c
parentstaging: rtl8712: Fix indent coding style issue (diff)
downloadkernel-qcow2-linux-977980ac59637f34228629658c05cb1aeb7eba60.tar.gz
kernel-qcow2-linux-977980ac59637f34228629658c05cb1aeb7eba60.tar.xz
kernel-qcow2-linux-977980ac59637f34228629658c05cb1aeb7eba60.zip
staging: unisys: visorbus: simplify commenting in controlvm_init
During the process of udpating the features bits, put a block comment for all updates instead of a separate comment for each one. Signed-off-by: David Kershner <david.kershner@unisys.com> Reviewed-by: Tim Sell <timothy.sell@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/visorbus/visorchipset.c')
-rw-r--r--drivers/staging/unisys/visorbus/visorchipset.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c
index 74cce4f1a7bd..315000fd8122 100644
--- a/drivers/staging/unisys/visorbus/visorchipset.c
+++ b/drivers/staging/unisys/visorbus/visorchipset.c
@@ -377,15 +377,11 @@ static int chipset_init(struct controlvm_message *inmsg)
/*
* Set features to indicate we support parahotplug (if Command also
- * supports it).
+ * supports it). Set the "reply" bit so Command knows this is a
+ * features-aware driver.
*/
features = inmsg->cmd.init_chipset.features &
VISOR_CHIPSET_FEATURE_PARA_HOTPLUG;
-
- /*
- * Set the "reply" bit so Command knows this is a features-aware
- * driver.
- */
features |= VISOR_CHIPSET_FEATURE_REPLY;
out_respond: