virtio_console: move removal code
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 20 Apr 2018 17:51:18 +0000 (20:51 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Apr 2018 17:41:26 +0000 (20:41 +0300)
commitaa44ec867030a72e8aa127977e37dec551d8df19
tree1e8845e767bec6b27cef68406c222ecd81b0a697
parent61a8950c5c5708cf2068b29ffde94e454e528208
virtio_console: move removal code

Will make it reusable for error handling.

Cc: stable@vger.kernel.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/char/virtio_console.c