summaryrefslogtreecommitdiff
path: root/src/lib/elput/elput_logind.c
diff options
context:
space:
mode:
authorChris Michael <cpmichael@osg.samsung.com>2016-05-09 10:40:23 -0400
committerChris Michael <cpmichael@osg.samsung.com>2016-05-09 10:40:23 -0400
commit9ed2f42c08c5adffbd4c13043923a1d5683d0bf1 (patch)
treedd45cdedba6d2b517d82379c2c86019984dc9c40 /src/lib/elput/elput_logind.c
parent90e8ad8d7dec453fa0037792cb6e2e04bdeadc8b (diff)
elput: Remove useless dbus argument fetching
As we do not need minor or fd from the dbus message during input device resume, we can remove these variables @fix Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
Diffstat (limited to 'src/lib/elput/elput_logind.c')
-rw-r--r--src/lib/elput/elput_logind.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c
index e829b4ac12..0f32b2539a 100644
--- a/src/lib/elput/elput_logind.c
+++ b/src/lib/elput/elput_logind.c
@@ -90,8 +90,7 @@ _cb_device_resumed(void *data, const Eldbus_Message *msg)
90{ 90{
91 Elput_Manager *em; 91 Elput_Manager *em;
92 const char *errname, *errmsg; 92 const char *errname, *errmsg;
93 uint32_t maj, min; 93 uint32_t maj;
94 int fd;
95 94
96 em = data; 95 em = data;
97 96
@@ -101,7 +100,7 @@ _cb_device_resumed(void *data, const Eldbus_Message *msg)
101 return; 100 return;
102 } 101 }
103 102
104 if (eldbus_message_arguments_get(msg, "uuh", &maj, &min, &fd)) 103 if (eldbus_message_arguments_get(msg, "u", &maj))
105 { 104 {
106 if ((em->sync) && (maj == 226)) // DRM_MAJOR 105 if ((em->sync) && (maj == 226)) // DRM_MAJOR
107 { 106 {