port-probe: no need to keep neither physdev path nor driver

This commit is contained in:
Aleksander Morgado
2012-07-10 15:07:36 +02:00
parent a5560bef3d
commit 4a85707b09
3 changed files with 3 additions and 33 deletions

View File

@@ -225,9 +225,7 @@ mm_device_grab_port (MMDevice *self,
}
/* Create and store new port probe */
probe = mm_port_probe_new (udev_port,
self->priv->udev_device_path,
self->priv->driver);
probe = mm_port_probe_new (udev_port);
self->priv->port_probes = g_list_prepend (self->priv->port_probes, probe);
/* Notify about the grabbed port */