FreeBSD/sys/dev/isci/scil/sci_abstract_list.c
/**
 * This method simply frees all the items from the list.
 */
This method simply frees all the items from the list.
This method simply frees all the items from the list .
void sci_abstract_list_clear(
   SCI_ABSTRACT_LIST_T * list_p
)
{
   while ((list_p)->elements.size > 0)
      sci_abstract_list_popfront((list_p));
}
void sci_abstract_list_clear ( SCI_ABSTRACT_LIST_T * list_p ) { while ( ( list_p ) -> elements . size > 0 ) sci_abstract_list_popfront ( ( list_p ) ) ; }
This method simply frees all the items from the list.
This method simply frees all the items from the list .