From: Jean Delvare Date: Thu, 6 Sep 2012 07:55:56 +0000 (+0200) Subject: s390/3270: drop unused spinlock from struct con3270 X-Git-Tag: next-20120911~108^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=e25b0dd16a851bcfa9357075eb8cc3119b620f1e;p=karo-tx-linux.git s390/3270: drop unused spinlock from struct con3270 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 Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/drivers/s390/char/con3270.c b/drivers/s390/char/con3270.c index bb07577e8fd4..699fd3e363df 100644 --- a/drivers/s390/char/con3270.c +++ b/drivers/s390/char/con3270.c @@ -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. */