From: Bob Liu Date: Mon, 16 Nov 2015 21:25:33 +0000 (-0500) Subject: xen/blkfront: Remove duplicate setting of ->xbdev. X-Git-Tag: v4.1.12-92~158^2~11^2~24 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b3975213f33c8307e4a0503866444c3df3657a84;p=users%2Fjedix%2Flinux-maple.git xen/blkfront: Remove duplicate setting of ->xbdev. We do the same exact operations a bit earlier in the function. Signed-off-by: Bob Liu Signed-off-by: Konrad Rzeszutek Wilk (cherry picked from commit 75f070b3967b0c3bf0e1bc43411b06bab6c2c2cd) Signed-off-by: Daniel Kiper --- diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 8f0a9dd0a209c..e151c9411d9f8 100644 --- a/drivers/block/xen-blkfront.c +++ b/drivers/block/xen-blkfront.c @@ -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;