From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-s390@vger.kernel.org
Subject: Re: [PATCH] [S390] 3270 console: Drop unused spinlock
Date: Thu, 06 Sep 2012 08:26:02 +0000 [thread overview]
Message-ID: <20120906102602.147f2359@de.ibm.com> (raw)
In-Reply-To: <20120906082156.GB4324@osiris.de.ibm.com>
On Thu, 6 Sep 2012 09:55:56 +0200
Jean Delvare <khali@linux-fr.org> wrote:
> I was checking why this spinlock was never initialized, but it turns
> out it's not used anywhere, so we can drop it.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> I can't even build-test this.
>
> drivers/s390/char/con3270.c | 1 -
> 1 file changed, 1 deletion(-)
>
> --- linux-3.6-rc4.orig/drivers/s390/char/con3270.c 2012-07-21 22:58:29.000000000 +0200
> +++ linux-3.6-rc4/drivers/s390/char/con3270.c 2012-09-06 09:52:43.801881092 +0200
> @@ -35,7 +35,6 @@ static struct raw3270_fn con3270_fn;
> */
> struct con3270 {
> struct raw3270_view view;
> - spinlock_t lock;
> struct list_head freemem; /* list of free memory for strings. */
>
> /* Output stuff. */
>
>
That is true, the code always uses the view->lock. I'll add this to the queue. Thanks.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
parent reply other threads:[~2012-09-06 8:26 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <20120906082156.GB4324@osiris.de.ibm.com>]
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=20120906102602.147f2359@de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=linux-s390@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.