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

Commit 3db8ce35 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by David S. Miller
Browse files

af_iucv: Use non-deprecated __RW_LOCK_UNLOCKED macro.

parent 4738c1db
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -53,7 +53,7 @@ static int iucv_callback_connreq(struct iucv_path *, u8 ipvmid[8],
static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);
static void iucv_callback_connrej(struct iucv_path *, u8 ipuser[16]);


static struct iucv_sock_list iucv_sk_list = {
static struct iucv_sock_list iucv_sk_list = {
	.lock = RW_LOCK_UNLOCKED,
	.lock = __RW_LOCK_UNLOCKED(iucv_sk_list.lock),
	.autobind_name = ATOMIC_INIT(0)
	.autobind_name = ATOMIC_INIT(0)
};
};