[PATCH 2/4] hw/arm/virt: Avoid multiple lines of comments in virt_kvm_type()

Gavin Shan posted 4 patches 3 months, 2 weeks ago
[PATCH 2/4] hw/arm/virt: Avoid multiple lines of comments in virt_kvm_type()
Posted by Gavin Shan 3 months, 2 weeks ago
The comment needn't to span multiple lines and can be merged to
one line perfectly.

Signed-off-by: Gavin Shan <gshan@redhat.com>
---
 hw/arm/virt.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index 83be57db37..09b7a158a9 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -3005,9 +3005,7 @@ static int virt_kvm_type(MachineState *ms, const char *type_str)
 
     requested_pa_size = 64 - clz64(vms->highest_gpa);
 
-    /*
-     * KVM requires the IPA size to be at least 32 bits.
-     */
+    /* KVM requires the IPA size to be at least 32 bits */
     if (requested_pa_size < 32) {
         requested_pa_size = 32;
     }
-- 
2.45.2