mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02: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