/* link_release_outqueue - purge link's outbound message queue @l_ptr: pointer to link  */
static void link_release_outqueue(struct link *l_ptr)
/* link_release_outqueue - purge link's outbound message queue @l_ptr: pointer to link  */
static void link_release_outqueue(struct link *l_ptr)
{
	struct sk_buff *buf = l_ptr->first_out;
	struct sk_buff *next;
	while (buf) {
		next = buf->next;
		buf_discard(buf);
		buf = next;
	}
	l_ptr->first_out = NULL;
	l_ptr->out_queue_size = 0;
}