Blob Blame History Raw
From c0d6f863ecd47535fe55bae12ce5bf292e356dbd Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Sat, 30 Oct 2021 08:34:28 +0100
Subject: [PATCH] vddk: Remove some whitespace from a couple of functions

(cherry picked from commit 974dce2c2ef84fc096ee319f340054234a29df91)
---
 plugins/vddk/vddk.c | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
index 271b5ee0..184f1a9c 100644
--- a/plugins/vddk/vddk.c
+++ b/plugins/vddk/vddk.c
@@ -792,9 +792,7 @@ static int
 vddk_flush (void *handle, uint32_t flags)
 {
   struct vddk_handle *h = handle;
-  struct command flush_cmd = {
-    .type = FLUSH,
-  };
+  struct command flush_cmd = { .type = FLUSH };
 
   return send_command_and_wait (h, &flush_cmd);
 }
@@ -804,10 +802,7 @@ vddk_can_extents (void *handle)
 {
   struct vddk_handle *h = handle;
   int ret;
-  struct command can_extents_cmd = {
-    .type = CAN_EXTENTS,
-    .ptr = &ret,
-  };
+  struct command can_extents_cmd = { .type = CAN_EXTENTS, .ptr = &ret };
 
   if (send_command_and_wait (h, &can_extents_cmd) == -1)
     return -1;
-- 
2.31.1