Reassign err is not needed, just a cleanup. Cc: James E.J. Bottomley <jbottom...@parallels.com> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Rusty Russell <ru...@rustcorp.com.au> Cc: linux-s...@vger.kernel.org Cc: k...@vger.kernel.org Signed-off-by: Wanlong Gao <gaowanl...@cn.fujitsu.com> --- drivers/scsi/virtio_scsi.c | 1 - 1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c index d5f9f45..8746c37 100644 --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -669,7 +669,6 @@ static int virtscsi_init(struct virtio_device *vdev, goto out; } } - err = 0; out: if (err) -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/