s390/3270: drop unused spinlock from struct con3270
authorJean Delvare <khali@linux-fr.org>
Thu, 6 Sep 2012 07:55:56 +0000 (09:55 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Sep 2012 13:45:11 +0000 (15:45 +0200)
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>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/con3270.c

index bb07577..699fd3e 100644 (file)
@@ -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. */