diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2014-10-14 23:52:33 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-10-14 23:55:14 (GMT) |
commit | 1bbc26062754b012656d34103215f7552e02b999 (patch) | |
tree | 29f9d12a2b0c773d0fe5ef466e60e8c5abdd27be /arch/alpha | |
parent | 5d8f16d08ba42937ae8c4152d218a77671be4b8f (diff) | |
download | linux-1bbc26062754b012656d34103215f7552e02b999.tar.xz |
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>
Diffstat (limited to 'arch/alpha')
0 files changed, 0 insertions, 0 deletions