Michael S. Tsirkin 1bbc260627 virtio-rng: refactor probe error handling
Code like
	vi->vq = NULL;
	kfree(vi)
does not make sense.

Clean it up, use goto error labels for cleanup.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-10-15 10:25:14 +10:30
..
2014-03-10 20:13:35 +08:00
2014-08-10 21:31:04 -07:00
2009-06-25 13:50:53 +08:00
2008-07-18 00:46:09 -07:00
2011-07-28 01:26:30 -07:00