(udev_joypad.c) Remove 'Device connected' message - autoconfig already

does this
This commit is contained in:
twinaphex 2015-06-03 18:57:43 +02:00
parent 1a5e16ff99
commit 976428f7fd

View File

@ -330,20 +330,10 @@ static void udev_check_device(struct udev_device *dev, const char *path, bool ho
return;
if (udev_add_pad(dev, pad, fd, path))
{
if (hotplugged)
{
char msg[512];
snprintf(msg, sizeof(msg), "Device #%u (%s) connected.", pad, path);
rarch_main_msg_queue_push(msg, 0, 60, false);
RARCH_LOG("[udev]: %s\n", msg);
}
}
else
{
RARCH_ERR("[udev]: Failed to add pad: %s.\n", path);
close(fd);
}
return;
RARCH_ERR("[udev]: Failed to add pad: %s.\n", path);
close(fd);
}
static void udev_free_pad(unsigned pad, bool hotplug)