Blame SOURCES/0017-vddk-Remove-some-whitespace-from-a-couple-of-functio.patch

e7ca0c
From c0d6f863ecd47535fe55bae12ce5bf292e356dbd Mon Sep 17 00:00:00 2001
7084e2
From: "Richard W.M. Jones" <rjones@redhat.com>
7084e2
Date: Sat, 30 Oct 2021 08:34:28 +0100
7084e2
Subject: [PATCH] vddk: Remove some whitespace from a couple of functions
7084e2
7084e2
(cherry picked from commit 974dce2c2ef84fc096ee319f340054234a29df91)
7084e2
---
7084e2
 plugins/vddk/vddk.c | 9 ++-------
7084e2
 1 file changed, 2 insertions(+), 7 deletions(-)
7084e2
7084e2
diff --git a/plugins/vddk/vddk.c b/plugins/vddk/vddk.c
7084e2
index 271b5ee0..184f1a9c 100644
7084e2
--- a/plugins/vddk/vddk.c
7084e2
+++ b/plugins/vddk/vddk.c
7084e2
@@ -792,9 +792,7 @@ static int
7084e2
 vddk_flush (void *handle, uint32_t flags)
7084e2
 {
7084e2
   struct vddk_handle *h = handle;
7084e2
-  struct command flush_cmd = {
7084e2
-    .type = FLUSH,
7084e2
-  };
7084e2
+  struct command flush_cmd = { .type = FLUSH };
7084e2
 
7084e2
   return send_command_and_wait (h, &flush_cmd);
7084e2
 }
7084e2
@@ -804,10 +802,7 @@ vddk_can_extents (void *handle)
7084e2
 {
7084e2
   struct vddk_handle *h = handle;
7084e2
   int ret;
7084e2
-  struct command can_extents_cmd = {
7084e2
-    .type = CAN_EXTENTS,
7084e2
-    .ptr = &ret,
7084e2
-  };
7084e2
+  struct command can_extents_cmd = { .type = CAN_EXTENTS, .ptr = &ret };
7084e2
 
7084e2
   if (send_command_and_wait (h, &can_extents_cmd) == -1)
7084e2
     return -1;
7084e2
-- 
7084e2
2.31.1
7084e2