[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 2/2] xen/blkfront: Remove duplicate setting of ->xbdev.
From: Bob Liu <bob.liu@xxxxxxxxxx> We do the same exact operations a bit earlier in the function. Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- drivers/block/xen-blkfront.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/block/xen-blkfront.c b/drivers/block/xen-blkfront.c index 7c131c5..c0f6fcd 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; -- 2.4.3 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |