/* destroy_tty_buffer_list() - call destroy_tty_buffer() for each list element. @list: List containing struct  */
static void destroy_tty_buffer_list(struct list_head *list)
/* destroy_tty_buffer_list() - call destroy_tty_buffer() for each list element. @list: List containing struct  */
static void destroy_tty_buffer_list(struct list_head *list)
{
	struct iucv_tty_buffer *ent, *next;
	list_for_each_entry_safe(ent, next, list, list) {
		list_del(&ent->list);
		destroy_tty_buffer(ent);
	}
}