devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=9ed2f42c08c5adffbd4c13043923a1d5683d0bf1
commit 9ed2f42c08c5adffbd4c13043923a1d5683d0bf1 Author: Chris Michael <[email protected]> Date: Mon May 9 10:40:23 2016 -0400 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 <[email protected]> --- src/lib/elput/elput_logind.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c index e829b4a..0f32b25 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) { Elput_Manager *em; const char *errname, *errmsg; - uint32_t maj, min; - int fd; + uint32_t maj; em = data; @@ -101,7 +100,7 @@ _cb_device_resumed(void *data, const Eldbus_Message *msg) return; } - if (eldbus_message_arguments_get(msg, "uuh", &maj, &min, &fd)) + if (eldbus_message_arguments_get(msg, "u", &maj)) { if ((em->sync) && (maj == 226)) // DRM_MAJOR { --
