virtio: console: open: Use a common path for error handling
authorAmit Shah <amit.shah@redhat.com>
Thu, 2 Sep 2010 12:41:48 +0000 (18:11 +0530)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 21 Oct 2010 07:14:02 +0000 (17:44 +1030)
commit8ad37e83c8dc413f92b10c3d9bdeabe9237f521d
tree1a640ee022950f66b172053667cb21c845ce6471
parent7a2853178dfba9553d58f356113f47fd582e9cc6
virtio: console: open: Use a common path for error handling

Just re-arrange code for future patches.

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