On Tue, Dec 22, 2009 at 10:06 PM, Peter Hutterer <[email protected]> wrote: > The driver may be set in the InputClass options. > > Signed-off-by: Peter Hutterer <[email protected]> > --- > We have extra checks in the NIDR for missing drivers lateron anyway, so > arguably this isn't needed. > > config/udev.c | 4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/config/udev.c b/config/udev.c > index 90e8e0b..758526f 100644 > --- a/config/udev.c > +++ b/config/udev.c > @@ -53,8 +53,6 @@ device_added(struct udev_device *udev_device) > struct udev_device *parent; > int rc; > > - driver = udev_device_get_property_value(udev_device, "x11_driver"); > - > path = udev_device_get_devnode(udev_device); > > syspath = udev_device_get_syspath(udev_device); > @@ -65,7 +63,7 @@ device_added(struct udev_device *udev_device) > if (!name) > name = "(unnamed)"; > > - if (!driver || !path || !syspath) > + if (!path || !syspath) > return; > options = xcalloc(sizeof(*options), 1); > if (!options)
Reviewed-by: Dan Nicholson <[email protected]> _______________________________________________ xorg-devel mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-devel
