forked from enlightenment/efl
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:
parent
90e8ad8d7d
commit
9ed2f42c08
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue