]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27b94c1a0346a8004676360fb7a5c9a1ad6e4516
treed15cd8d2a0b0d9a5076eeb49735b0b9150e90676
parent79a745aaac8ea1f5083ba744903f28bd1b54f592
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