[gdm] slave: drop some dead code



commit 7b9dfd7a0156faf081b0a02db99dd0ffc526076b
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=744764

 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]