virtio: Directly use ida_alloc()/free()
authorkeliu <liuke94@huawei.com>
Fri, 27 May 2022 07:33:02 +0000 (07:33 +0000)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 May 2022 16:45:10 +0000 (12:45 -0400)
commit4f58afd6eb177a75dec61c65fdc72db31db93c82
tree8836d14f07151c078aa46ea9ab6e140b5e45928f
parent619e9e14ba3c97a80776c0b5a68a01caa41dd148
virtio: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove() .

Signed-off-by: keliu <liuke94@huawei.com>
Message-Id: <20220527073302.2474073-1-liuke94@huawei.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio.c