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

Commit ee5850de authored by David S. Miller's avatar David S. Miller
Browse files

llc: Use sock_graft() instead of by-hand version.

parent 338db085
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -128,10 +128,8 @@ static int llc_ui_send_data(struct sock* sk, struct sk_buff *skb, int noblock)

static void llc_ui_sk_init(struct socket *sock, struct sock *sk)
{
	sock_graft(sk, sock);
	sk->sk_type	= sock->type;
	sk->sk_sleep	= &sock->wait;
	sk->sk_socket	= sock;
	sock->sk	= sk;
	sock->ops	= &llc_ui_ops;
}