]> git.karo-electronics.de Git - linux-beck.git/commitdiff
xen/blkfront: Remove duplicate setting of ->xbdev.
authorBob Liu <bob.liu@oracle.com>
Mon, 16 Nov 2015 21:25:33 +0000 (16:25 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Jan 2016 17:21:03 +0000 (12:21 -0500)
We do the same exact operations a bit earlier in the
function.

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/block/xen-blkfront.c

index 87ab09fc7b5f8ece580629217d81e697dc5c2f0b..b7f06cf1478828d9773ac9f871babe9d04ebd213 100644 (file)
@@ -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;