virtio_console: init work unconditionally
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Mar 2015 00:15:30 +0000 (10:45 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Thu, 5 Mar 2015 03:06:17 +0000 (13:36 +1030)
commit4f6e24ed9de8634d6471ef86b382cba6d4e57ca8
treed6d8ef3f810d21ffa8d9f291afe399fcef60887b
parent6587457b4b3d663b237a0f95ddf6e67d1828c8ea
virtio_console: init work unconditionally

when multiport is off, we don't initialize config work,
but we then cancel uninitialized control_work on freeze.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: stable@kernel.org
drivers/char/virtio_console.c