qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 23/59] block/vxhs.c: remove unneeded 'out' label in vxhs_iio_c


From: Daniel Henrique Barboza
Subject: [PATCH v1 23/59] block/vxhs.c: remove unneeded 'out' label in vxhs_iio_callback()
Date: Mon, 6 Jan 2020 15:23:49 -0300

'out' is just a 'return' call.

CC: Kevin Wolf <address@hidden>
CC: address@hidden
Signed-off-by: Daniel Henrique Barboza <address@hidden>
---
 block/vxhs.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/block/vxhs.c b/block/vxhs.c
index d79fc97df6..e3db367918 100644
--- a/block/vxhs.c
+++ b/block/vxhs.c
@@ -96,7 +96,7 @@ static void vxhs_iio_callback(void *ctx, uint32_t opcode, 
uint32_t error)
             acb = ctx;
         } else {
             trace_vxhs_iio_callback(error);
-            goto out;
+            return;
         }
 
         if (error) {
@@ -122,8 +122,6 @@ static void vxhs_iio_callback(void *ctx, uint32_t opcode, 
uint32_t error)
         }
         break;
     }
-out:
-    return;
 }
 
 static QemuOptsList runtime_opts = {
-- 
2.24.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]