From 342efed6bb9f8f0c8d2cb4aa2b09da64ed2e7ed4 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" 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