-static int load_first_available_playlist(struct playlist_info *playlist)
-{
- int ret = osl_rbtree_loop(playlists_table, BLOBCOL_NAME, playlist,
- load_playlist);
- if (ret == -E_PLAYLIST_LOADED) /* success */
- return 1;
- if (ret < 0)
- return ret; /* error */
- PARA_NOTICE_LOG("no valid playlist found\n");
- return -E_NO_PLAYLIST;
-}
-