[gdm/wip/slave-display-merger: 26/30] slave: drop some dead code



commit 2facc79c99f8eba9ea3a374d5b3063385d243200
Author: Ray Strode <rstrode redhat com>
Date:   Thu Jan 29 16:54:37 2015 -0500

    slave: drop some dead code
    
    There is a random smattering of vestigial code
    in gdm-simple-slave.c.  This commit expunges it.

 daemon/gdm-simple-slave.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/daemon/gdm-simple-slave.c b/daemon/gdm-simple-slave.c
index e596938..693f723 100644
--- a/daemon/gdm-simple-slave.c
+++ b/daemon/gdm-simple-slave.c
@@ -29,10 +29,6 @@
 #include <sys/wait.h>
 #include <errno.h>
 
-#ifdef  HAVE_LOGINDEVPERM
-#include <libdevinfo.h>
-#endif  /* HAVE_LOGINDEVPERM */
-
 #include <glib.h>
 #include <glib/gi18n.h>
 #include <glib/gstdio.h>
@@ -250,7 +246,4 @@ static void
 gdm_simple_slave_init (GdmSimpleSlave *slave)
 {
         slave->priv = GDM_SIMPLE_SLAVE_GET_PRIVATE (slave);
-#ifdef  HAVE_LOGINDEVPERM
-        slave->priv->use_logindevperm = FALSE;
-#endif
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]