From: "Yury V. Umanets" <umka@namesys.com>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: loop device trivial cleanup...
Date: Sat, 24 Jan 2004 20:32:35 +0300 [thread overview]
Message-ID: <1074965554.9250.6.camel@firefly> (raw)
[-- Attachment #1: Type: text/plain, Size: 105 bytes --]
Hello Andrew,
This is found redundant assignment in loop back device driver. See
attachment.
--
umka
[-- Attachment #2: linux-2.6.2-rc1-mm2-loop-redundant.diff --]
[-- Type: text/x-patch, Size: 452 bytes --]
--- ./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);
reply other threads:[~2004-01-24 17:32 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1074965554.9250.6.camel@firefly \
--to=umka@namesys.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox