diff options
author | 2014-10-15 10:22:33 +1030 | |
---|---|---|
committer | 2014-10-15 10:25:14 +1030 | |
commit | 1bbc26062754b012656d34103215f7552e02b999 (patch) | |
tree | 29f9d12a2b0c773d0fe5ef466e60e8c5abdd27be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | virtio_scsi: drop scan callback (diff) | |
download | wireguard-linux-1bbc26062754b012656d34103215f7552e02b999.tar.xz wireguard-linux-1bbc26062754b012656d34103215f7552e02b999.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions