[PATCH spice-vdagent] dummy-session-info: remove session_is_locked()

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

 



364b6bba068bd694d7c4355b6275f88482d9f3f8 introduced
session_info_session_is_locked() in session-info.h, however
dummy-session-info.c implemented session_is_locked() instead,
causing builds with --with-session-info=none to fail.

This was fixed by d66fbb9d12ae2e5dbaf13d23b9abb4b6bf187d7f,
but it didn't remove the incorrect session_is_locked().
---
 src/vdagentd/dummy-session-info.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/vdagentd/dummy-session-info.c b/src/vdagentd/dummy-session-info.c
index d8f1833..1be27ae 100644
--- a/src/vdagentd/dummy-session-info.c
+++ b/src/vdagentd/dummy-session-info.c
@@ -45,11 +45,6 @@ char *session_info_session_for_pid(struct session_info *si, uint32_t pid)
     return NULL;
 }
 
-gboolean session_is_locked(struct session_info *ck)
-{
-    return FALSE;
-}
-
 gboolean session_info_is_user(struct session_info *si)
 {
     return TRUE;
-- 
2.17.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux Virtualization]     [Linux Virtualization]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]