Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75f070b3 authored by Bob Liu's avatar Bob Liu Committed by Konrad Rzeszutek Wilk
Browse files

xen/blkfront: Remove duplicate setting of ->xbdev.



We do the same exact operations a bit earlier in the
function.

Signed-off-by: default avatarBob Liu <bob.liu@oracle.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 6f03a7ff
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1792,7 +1792,6 @@ static int blkfront_probe(struct xenbus_device *dev,

	mutex_init(&info->mutex);
	spin_lock_init(&info->dev_lock);
	info->xbdev = dev;
	info->vdevice = vdevice;
	INIT_LIST_HEAD(&info->grants);
	info->connected = BLKIF_STATE_DISCONNECTED;