xserver: Branch 'master'

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Mar 15 04:36:32 UTC 2024


 hw/xfree86/os-support/shared/posix_tty.c |   10 ----------
 hw/xfree86/os-support/xf86_OSproc.h      |    1 -
 2 files changed, 11 deletions(-)

New commits:
commit 5b43fd8393bbfc7ee5bd1c6f98cd40961565bce2
Author: Enrico Weigelt, metux IT consult <info at metux.net>
Date:   Wed Mar 13 16:56:06 2024 +0100

    xfree86: os-support: drop unused xf86SerialSendBreak()
    
    Since no evidency of anybody actually using it (nor it ever been used within
    recorded git history), it's time to drop this old relic from times before
    the great flood.
    
    Signed-off-by: Enrico Weigelt, metux IT consult <info at metux.net>
    Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1403>

diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c
index 0cb9788cc..50f88cdc9 100644
--- a/hw/xfree86/os-support/shared/posix_tty.c
+++ b/hw/xfree86/os-support/shared/posix_tty.c
@@ -411,16 +411,6 @@ xf86WaitForInput(int fd, int timeout)
     return r;
 }
 
-int
-xf86SerialSendBreak(int fd, int duration)
-{
-    int r;
-
-    SYSCALL(r = tcsendbreak(fd, duration));
-    return r;
-
-}
-
 int
 xf86FlushInput(int fd)
 {
diff --git a/hw/xfree86/os-support/xf86_OSproc.h b/hw/xfree86/os-support/xf86_OSproc.h
index 88a1ee98a..8d61d8208 100644
--- a/hw/xfree86/os-support/xf86_OSproc.h
+++ b/hw/xfree86/os-support/xf86_OSproc.h
@@ -129,7 +129,6 @@ extern _X_EXPORT int xf86WriteSerial(int fd, const void *buf, int count);
 extern _X_EXPORT int xf86CloseSerial(int fd);
 extern _X_EXPORT int xf86FlushInput(int fd);
 extern _X_EXPORT int xf86WaitForInput(int fd, int timeout);
-extern _X_EXPORT int xf86SerialSendBreak(int fd, int duration);
 extern _X_EXPORT int xf86SetSerialModemState(int fd, int state);
 extern _X_EXPORT int xf86GetSerialModemState(int fd);
 extern _X_EXPORT int xf86SerialModemSetBits(int fd, int bits);


More information about the xorg-commit mailing list