Simplify menu_list_clear

This commit is contained in:
twinaphex 2015-06-12 14:38:30 +02:00
parent 1916e66780
commit 0531d482d2

View File

@ -339,13 +339,8 @@ end:
void menu_list_clear(file_list_t *list)
{
driver_t *driver = driver_get_ptr();
if (!driver->menu_ctx)
goto end;
menu_driver_list_clear(list);
end:
if (list)
file_list_clear(list);
}