virtio: console: Reference counting portdev structs is not needed
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 13:08:30 +0000 (18:38 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:14:03 +0000 (17:44 +1030)
commite062013c7d22e40ee634b818d28fd615db36998e
tree375eed8979d6f4c77d5846af89490f624e714db6
parentb353a6b821627053f82b4e7b907e824cb7a6879c
virtio: console: Reference counting portdev structs is not needed

Explain in a comment why there's no need to reference-count the portdev
struct: when a device is yanked out, we can't do anything more with it
anyway so just give up doing anything more with the data or the vqs and
exit cleanly.

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