Browse Source

s390: netiucv spinlock initializer cleanup

spinlock initializer cleanup in netiucv.c

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Thomas Gleixner 18 years ago
parent
commit
bfac0d0b6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/s390/net/netiucv.c

+ 1 - 1
drivers/s390/net/netiucv.c

@@ -212,7 +212,7 @@ struct iucv_connection {
  */
  */
 static struct list_head iucv_connection_list =
 static struct list_head iucv_connection_list =
 	LIST_HEAD_INIT(iucv_connection_list);
 	LIST_HEAD_INIT(iucv_connection_list);
-static rwlock_t iucv_connection_rwlock = RW_LOCK_UNLOCKED;
+static DEFINE_RWLOCK(iucv_connection_rwlock);
 
 
 /**
 /**
  * Representation of event-data for the
  * Representation of event-data for the