From: Michael S. Tsirkin Date: Tue, 14 Oct 2014 23:52:33 +0000 (+1030) Subject: virtio-rng: refactor probe error handling X-Git-Tag: fixes-against-v3.18-rc2~57^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1bbc26062754b012656d34103215f7552e02b999;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell --- Reading git-diff-tree failed