Linux MM tree latest commits
 help / color / mirror / Atom feed
From: akpm@linux-foundation.org
To: geert@linux-m68k.org, alan@lxorguk.ukuu.org.uk, greg@kroah.com,
	mm-commits@vger.kernel.org
Subject: [merged] serial167-kill-unused-variables.patch removed from -mm tree
Date: Thu, 06 May 2010 12:09:21 -0400	[thread overview]
Message-ID: <201005061910.o46JApxK008554@imap1.linux-foundation.org> (raw)


The patch titled
     serial167: kill unused variables
has been removed from the -mm tree.  Its filename was
     serial167-kill-unused-variables.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: serial167: kill unused variables
From: Geert Uytterhoeven <geert@linux-m68k.org>

commits 638157bc1461f6718eeca06bedd9a09cf1f35c36 ("serial167: prepare to
push BKL down into drivers") and 4165fe4ef7305609a96c7f248cefb9c414d0ede5
("tty: Fix up char drivers request_room usage") removed code without
removing the corresponding variables:

| drivers/char/serial167.c: In function 'cd2401_rx_interrupt':
| drivers/char/serial167.c:630: warning: unused variable 'len'
| drivers/char/serial167.c: In function 'cy_ioctl':
| drivers/char/serial167.c:1531: warning: unused variable 'val'

Remove the variables to kill the warnings.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/char/serial167.c |    2 --
 1 file changed, 2 deletions(-)

diff -puN drivers/char/serial167.c~serial167-kill-unused-variables drivers/char/serial167.c
--- a/drivers/char/serial167.c~serial167-kill-unused-variables
+++ a/drivers/char/serial167.c
@@ -627,7 +627,6 @@ static irqreturn_t cd2401_rx_interrupt(i
 	char data;
 	int char_count;
 	int save_cnt;
-	int len;
 
 	/* determine the channel and change to that context */
 	channel = (u_short) (base_addr[CyLICR] >> 2);
@@ -1528,7 +1527,6 @@ static int
 cy_ioctl(struct tty_struct *tty, struct file *file,
 	 unsigned int cmd, unsigned long arg)
 {
-	unsigned long val;
 	struct cyclades_port *info = tty->driver_data;
 	int ret_val = 0;
 	void __user *argp = (void __user *)arg;
_

Patches currently in -mm which might be from geert@linux-m68k.org are

origin.patch
linux-next.patch
endian-define-__byte_order.patch
m68k-use-asm-generic-scatterlisth.patch


                 reply	other threads:[~2010-05-06 19:11 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=201005061910.o46JApxK008554@imap1.linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=geert@linux-m68k.org \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mm-commits@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