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>
This commit is contained in:
Chris Michael 2016-05-09 10:40:23 -04:00
parent 90e8ad8d7d
commit 9ed2f42c08
1 changed files with 2 additions and 3 deletions

View File

@ -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
{