From 77d254cb8b066cf215dcc13d6a0d83ccc37ffbc4 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 19 May 2025 17:48:14 +0200 Subject: [PATCH] xfree86: drop unused xf86PostKeyEventP() Not used anywhere, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86Xinput.c | 8 -------- hw/xfree86/common/xf86Xinput.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/hw/xfree86/common/xf86Xinput.c b/hw/xfree86/common/xf86Xinput.c index 7bfab2413..6a58a56b9 100644 --- a/hw/xfree86/common/xf86Xinput.c +++ b/hw/xfree86/common/xf86Xinput.c @@ -1401,14 +1401,6 @@ xf86PostKeyEvent(DeviceIntPtr device, unsigned int key_code, int is_down) xf86PostKeyEventM(device, key_code, is_down); } -void -xf86PostKeyEventP(DeviceIntPtr device, - unsigned int key_code, - int is_down) -{ - xf86PostKeyEventM(device, key_code, is_down); -} - void xf86PostKeyEventM(DeviceIntPtr device, unsigned int key_code, int is_down) { diff --git a/hw/xfree86/common/xf86Xinput.h b/hw/xfree86/common/xf86Xinput.h index 72bf8e287..04a854a03 100644 --- a/hw/xfree86/common/xf86Xinput.h +++ b/hw/xfree86/common/xf86Xinput.h @@ -141,8 +141,6 @@ extern _X_EXPORT void xf86PostKeyEvent(DeviceIntPtr device, unsigned int key_code, int is_down); extern _X_EXPORT void xf86PostKeyEventM(DeviceIntPtr device, unsigned int key_code, int is_down); -extern _X_EXPORT void xf86PostKeyEventP(DeviceIntPtr device, - unsigned int key_code, int is_down); extern _X_EXPORT void xf86PostKeyboardEvent(DeviceIntPtr device, unsigned int key_code, int is_down); extern _X_EXPORT void xf86PostTouchEvent(DeviceIntPtr dev, uint32_t touchid,