[PATCH v2 07/15] virtio_net: drop config_enable

Cornelia Huck
Mon, 06 Oct 2014 15:28:01 -0000

On Mon, 6 Oct 2014 18:11:05 +0300
"Michael S. Tsirkin" <mst at redhat.com> wrote:

> Now that virtio core ensures config changes don't arrive during
probing,
> drop config_enable flag in virtio net.
> On removal, flush is now sufficient to guarantee that no change work is
> queued.
>
> This help simplify the driver, and will allow setting DRIVER_OK earlier
> without losing config change notifications.
>
> Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
> ---
>  drivers/net/virtio_net.c | 27 ++++-----------------------
>  1 file changed, 4 insertions(+), 23 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck at de.ibm.com>