mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 18:24:14 +08:00
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>
This commit is contained in:
parent
6f03a7ff89
commit
75f070b396
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user