Re: [PATCH net-next] xen-netback: get rid of old udev related code

From: David Miller
Date: Thu Dec 12 2019 - 14:05:17 EST


From: Paul Durrant <pdurrant@xxxxxxxxxx>
Date: Thu, 12 Dec 2019 13:54:06 +0000

> In the past it used to be the case that the Xen toolstack relied upon
> udev to execute backend hotplug scripts. However this has not been the
> case for many releases now and removal of the associated code in
> xen-netback shortens the source by more than 100 lines, and removes much
> complexity in the interaction with the xenstore backend state.
>
> NOTE: xen-netback is the only xenbus driver to have a functional uevent()
> method. The only other driver to have a method at all is
> pvcalls-back, and currently pvcalls_back_uevent() simply returns 0.
> Hence this patch also facilitates further cleanup.
>
> Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>

If userspace ever used this stuff, I seriously doubt you can remove this
even if it hasn't been used in 5+ years.

Sorry.