lkml.org 
[lkml]   [2004]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subjectloop device trivial cleanup...
From
Date

Hello Andrew,

This is found redundant assignment in loop back device driver. See
attachment.

--
umka
--- ./linux-2.6.2-rc1-mm2/drivers/block/loop.c.orig 2004-01-24 20:18:48.000000000 +0300
+++ ./linux-2.6.2-rc1-mm2/drivers/block/loop.c 2004-01-24 20:22:19.955190864 +0300
@@ -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);
\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.024 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site