[PATCH] config: don't require x11_driver from udev.
Dan Nicholson
dbn.lists at gmail.com
Tue Dec 22 22:55:59 PST 2009
On Tue, Dec 22, 2009 at 10:06 PM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> The driver may be set in the InputClass options.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> 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 <dbn.lists at gmail.com>
More information about the xorg-devel
mailing list