diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-02-18 04:46:52 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-02-18 04:46:52 -0800 |
| commit | ee6afa31bb58dda9e748c0382e413f6a41c6afec (patch) | |
| tree | 88c0202a8f44739b71013a47b1910c494ab8715d | |
| parent | 685eba2c0d2315728eb0d514998f7c669650afc4 (diff) | |
[PATCH] loop: remove redundant initialisation
From: "Yury V. Umanets" <umka@namesys.com>
This removes a redundant assignment in loop.
| -rw-r--r-- | drivers/block/loop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 2aa58afe776c..dd55e81462a6 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -1014,7 +1014,6 @@ int __init loop_init(void) lo->lo_queue = blk_alloc_queue(GFP_KERNEL); if (!lo->lo_queue) goto out_mem4; - disks[i]->queue = lo->lo_queue; init_MUTEX(&lo->lo_ctl_mutex); init_MUTEX_LOCKED(&lo->lo_sem); init_MUTEX_LOCKED(&lo->lo_bh_mutex); |
