virtio: console: Remove control vq data only if using multiport support
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:41 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:13:59 +0000 (17:43 +1030)
commit96eb872b2a041b1536ccc6ae2fa87eb28f6e2bb2
treed15cd8d2a0b0d9a5076eeb49735b0b9150e90676
parent02238959944ce031f066f21e541a14933aca6575
virtio: console: Remove control vq data only if using multiport support

If a portdev isn't using multiport support, it won't have any control vq
data to remove.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/char/virtio_console.c