diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2005-01-13 04:42:19 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2005-01-13 04:42:19 -0800 |
| commit | f202ec57159a7a0fb49ffd0a6aa80f8bf8ba8ad3 (patch) | |
| tree | 532b97f82a6a9de457764f9a2e958f1a12514014 /net/lapb/lapb_iface.c | |
| parent | d2b77f3ea736d4a3bb5f6c730aa0634b4fb3e5a4 (diff) | |
[NET]: Lock initializer cleanup.
Use the new lock initializers DEFINE_SPIN_LOCk and DEFINE_RW_LOCK
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb/lapb_iface.c')
| -rw-r--r-- | net/lapb/lapb_iface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c index fe50f633b2a0..aea6616cea3d 100644 --- a/net/lapb/lapb_iface.c +++ b/net/lapb/lapb_iface.c @@ -40,7 +40,7 @@ #include <net/lapb.h> static struct list_head lapb_list = LIST_HEAD_INIT(lapb_list); -static rwlock_t lapb_list_lock = RW_LOCK_UNLOCKED; +static DEFINE_RWLOCK(lapb_list_lock); /* * Free an allocated lapb control block. |
