]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_blk: Delete an unnecessary initialisation in init_vq()
authorMarkus Elfring <elfring@users.sourceforge.net>
Tue, 13 Sep 2016 11:43:50 +0000 (13:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 30 Oct 2016 22:21:47 +0000 (00:21 +0200)
commit5fe94ba3649a2617c3887dc97e5c820758b68d02
treea87e0851e196c69d332787b9d96603692adad011
parent39515839f1cae6d4aeec760ebabb4c4e335986c5
virtio_blk: Delete an unnecessary initialisation in init_vq()

The local variable "err" will be set to an appropriate value
by a following statement.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c