diff options
author | Bob Liu <bob.liu@oracle.com> | 2015-11-16 22:25:33 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2016-01-04 18:21:03 +0100 |
commit | 75f070b3967b0c3bf0e1bc43411b06bab6c2c2cd (patch) | |
tree | fd4b59975de85f7d051519fe05aaf7473a4e6785 /drivers/block | |
parent | xen/blkfront: Cleanup of comments, fix unaligned variables, and syntax errors. (diff) | |
download | linux-75f070b3967b0c3bf0e1bc43411b06bab6c2c2cd.tar.xz linux-75f070b3967b0c3bf0e1bc43411b06bab6c2c2cd.zip |
xen/blkfront: Remove duplicate setting of ->xbdev.
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>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/xen-blkfront.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 87ab09fc7b5f..b7f06cf14788 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; |