]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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>
Mon, 10 Sep 2012 07:54:32 +0000 (09:54 +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 bb07577e8fd4409331aeef22562edec3c838a468..699fd3e363dfba2f7b0fe8dbab3f43961ec1a108 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. */