From 3179c51bee658fb94e76c92e215c8b43fb9e0e7b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 16 Sep 2025 15:31:07 +0200 Subject: [PATCH] Xext: Xv: use return value X_SEND_REPLY_SIMPLE() Signed-off-by: Enrico Weigelt, metux IT consult --- Xext/xvdisp.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Xext/xvdisp.c b/Xext/xvdisp.c index c3c45b223..b542ed5a0 100644 --- a/Xext/xvdisp.c +++ b/Xext/xvdisp.c @@ -72,8 +72,7 @@ ProcXvQueryExtension(ClientPtr client) swaps(&reply.revision); } - X_SEND_REPLY_SIMPLE(client, reply); - return Success; + return X_SEND_REPLY_SIMPLE(client, reply); } static int @@ -375,8 +374,7 @@ ProcXvGrabPort(ClientPtr client) .result = result }; - X_SEND_REPLY_SIMPLE(client, reply); - return Success; + return X_SEND_REPLY_SIMPLE(client, reply); } static int @@ -497,8 +495,7 @@ ProcXvGetPortAttribute(ClientPtr client) swapl(&reply.value); } - X_SEND_REPLY_SIMPLE(client, reply); - return Success; + return X_SEND_REPLY_SIMPLE(client, reply); } static int @@ -527,8 +524,7 @@ ProcXvQueryBestSize(ClientPtr client) swaps(&reply.actual_height); } - X_SEND_REPLY_SIMPLE(client, reply); - return Success; + return X_SEND_REPLY_SIMPLE(client, reply); } static int