<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 20, 2017 at 9:43 PM, Adam Jackson <span dir="ltr"><<a href="mailto:ajax@redhat.com" target="_blank">ajax@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This no longer does anything useful.<br>
<br>
Signed-off-by: Adam Jackson <<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>><br>
---<br>
hw/kdrive/src/kdrive.c | 14 --------------<br>
1 file changed, 14 deletions(-)<br>
<br>
diff --git a/hw/kdrive/src/kdrive.c b/hw/kdrive/src/kdrive.c<br>
index 82dcf4ae73..6dbb908565 100644<br>
--- a/hw/kdrive/src/kdrive.c<br>
+++ b/hw/kdrive/src/kdrive.c<br>
@@ -86,8 +86,6 @@ const char *kdGlobalXkbLayout = NULL;<br>
const char *kdGlobalXkbVariant = NULL;<br>
const char *kdGlobalXkbOptions = NULL;<br>
<br>
-static Bool kdCaughtSignal = FALSE;<br>
-<br>
void<br>
KdDisableScreen(ScreenPtr pScreen)<br>
{<br>
@@ -168,9 +166,6 @@ void<br>
AbortDDX(enum ExitCode error)<br>
{<br>
KdDisableScreens();<br>
-<br>
- if (kdCaughtSignal)<br>
- OsAbort();<br>
}<br>
<br>
void<br>
@@ -937,13 +932,6 @@ KdAddScreen(ScreenInfo * pScreenInfo,<br>
AddScreen(KdScreenInit, argc, argv);<br>
}<br>
<br>
-static int<br>
-KdSignalWrapper(int signum)<br>
-{<br>
- kdCaughtSignal = TRUE;<br>
- return 1; /* use generic OS layer cleanup & abort */<br>
-}<br>
-<br>
void<br>
KdInitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)<br>
{<br>
@@ -985,8 +973,6 @@ KdInitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)<br>
for (screen = card->screenList; screen; screen = screen->next)<br>
KdAddScreen(pScreenInfo, screen, argc, argv);<br>
<br>
- OsRegisterSigWrapper(<wbr>KdSignalWrapper);<br>
-<br>
#if defined(CONFIG_UDEV) || defined(CONFIG_HAL)<br>
if (SeatId) /* Enable input hot-plugging */<br>
config_pre_init();<br>
<span class="gmail-HOEnZb"><font color="#888888">--<br>
2.14.3<br>
<br>
______________________________<wbr>_________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" rel="noreferrer" target="_blank">http://lists.x.org/archives/<wbr>xorg-devel</a><br>
Info: <a href="https://lists.x.org/mailman/listinfo/xorg-devel" rel="noreferrer" target="_blank">https://lists.x.org/mailman/<wbr>listinfo/xorg-devel</a></font></span></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">LGTM.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Reviewed-by: Olivier Fourdan <<a href="mailto:ofourdan@redhat.com" target="_blank">ofourdan@redhat.com</a>></div></div></div>