Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5ba03e82 authored by Jiri Slaby's avatar Jiri Slaby Committed by Herbert Xu
Browse files

[SUNRPC]: Remove SPIN_LOCK_UNLOCKED



SPIN_LOCK_UNLOCKED is deprecated, use DEFINE_SPINLOCK instead

Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5fe4a334
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ static inline void do_xprt_reserve(struct rpc_task *);
static void	xprt_connect_status(struct rpc_task *task);
static int      __xprt_get_cong(struct rpc_xprt *, struct rpc_task *);

static spinlock_t xprt_list_lock = SPIN_LOCK_UNLOCKED;
static DEFINE_SPINLOCK(xprt_list_lock);
static LIST_HEAD(xprt_list);

/*