提交 75f070b3 编写于 作者: B Bob Liu 提交者: Konrad Rzeszutek Wilk

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

We do the same exact operations a bit earlier in the
function.
Signed-off-by: NBob Liu <bob.liu@oracle.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 6f03a7ff
...@@ -1792,7 +1792,6 @@ static int blkfront_probe(struct xenbus_device *dev, ...@@ -1792,7 +1792,6 @@ static int blkfront_probe(struct xenbus_device *dev,
mutex_init(&info->mutex); mutex_init(&info->mutex);
spin_lock_init(&info->dev_lock); spin_lock_init(&info->dev_lock);
info->xbdev = dev;
info->vdevice = vdevice; info->vdevice = vdevice;
INIT_LIST_HEAD(&info->grants); INIT_LIST_HEAD(&info->grants);
info->connected = BLKIF_STATE_DISCONNECTED; info->connected = BLKIF_STATE_DISCONNECTED;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册