/* This function removes a connection from sk_list.list of a SAP if the connection was in this list.  */
void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk)
/* This function removes a connection from sk_list.list of a SAP if the connection was in this list.  */
void llc_sap_remove_socket(struct llc_sap *sap, struct sock *sk)
{
	write_lock_bh(&sap->sk_list.lock);
	sk_del_node_init(sk);
	write_unlock_bh(&sap->sk_list.lock);
	llc_sap_put(sap);
}