[sysprof/wip/chergert/sysprof-3] sysprofd: remove debug code



commit 03f592fd369997f51e088d5902f65d30eeec9689
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 10 12:53:43 2019 -0700

    sysprofd: remove debug code

 src/sysprofd/ipc-service-impl.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/sysprofd/ipc-service-impl.c b/src/sysprofd/ipc-service-impl.c
index 60aec07..ccde0de 100644
--- a/src/sysprofd/ipc-service-impl.c
+++ b/src/sysprofd/ipc-service-impl.c
@@ -47,8 +47,6 @@ ipc_service_impl_handle_list_processes (IpcService            *service,
   g_assert (IPC_IS_SERVICE_IMPL (service));
   g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
 
-  g_message ("ListProcesses()");
-
   if (!helpers_list_processes (&processes, &n_processes))
     g_dbus_method_invocation_return_error (g_steal_pointer (&invocation),
                                            G_DBUS_ERROR,
@@ -76,8 +74,6 @@ ipc_service_impl_handle_get_proc_file (IpcService            *service,
   g_assert (IPC_IS_SERVICE_IMPL (service));
   g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
 
-  g_message ("GetProcFile(%s)", path);
-
   if (!helpers_get_proc_file (path, &contents, &len))
     g_dbus_method_invocation_return_error (g_steal_pointer (&invocation),
                                            G_DBUS_ERROR,
@@ -177,8 +173,6 @@ ipc_service_impl_g_authorize_method (GDBusInterfaceSkeleton *skeleton,
   g_assert (IPC_IS_SERVICE_IMPL (skeleton));
   g_assert (G_IS_DBUS_METHOD_INVOCATION (invocation));
 
-  return TRUE;
-
   peer_name = g_dbus_method_invocation_get_sender (invocation);
 
   if (!(authority = polkit_authority_get_sync (NULL, NULL)) ||


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