linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Piotr Kasprzyk <kwadrat@rose.iinf.polsl.gliwice.pl>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] 2.4.14 redundant instruction in kernel/module.c
Date: Tue, 6 Nov 2001 15:20:41 +0100	[thread overview]
Message-ID: <20011106152041.A4794@rose.iinf.polsl.gliwice.pl> (raw)

This patch is against 2.4.14.
The line below has no effect on code and can be safely removed.
Why it is there?
I have also similar patch for kernel 2.2.20.

 Piotr Kasprzyk

diff -r -u linux-2.4.14/kernel/module.c linux-2.4.14new/kernel/module.c
--- linux-2.4.14/kernel/module.c	Fri Sep 14 01:33:03 2001
+++ linux-2.4.14new/kernel/module.c	Tue Nov  6 14:57:13 2001
@@ -1189,7 +1189,6 @@
 				len = 0;
 				begin = pos;
 			}
-			pos = begin + len;
 			if (pos > offset+length)
 				goto leave_the_loop;
 		}

                 reply	other threads:[~2001-11-06 14:21 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=20011106152041.A4794@rose.iinf.polsl.gliwice.pl \
    --to=kwadrat@rose.iinf.polsl.gliwice.pl \
    --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;
as well as URLs for NNTP newsgroup(s).