Commit 2f78e03d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

playlist: remove unused playlist_DeleteFromInputInParent()

parent cc67adbf
......@@ -333,27 +333,6 @@ static int DeleteFromInput( playlist_t *p_playlist, input_item_t *p_input,
return VLC_SUCCESS;
}
/**
* Delete input item
*
* Remove an input item when it appears from a root playlist item
* \param p_playlist playlist object
* \param p_input the input to delete
* \param p_root root playlist item
* \param b_locked TRUE if the playlist is locked
* \return VLC_SUCCESS or VLC_EGENERIC
*/
int playlist_DeleteFromInputInParent( playlist_t *p_playlist,
input_item_t *p_item,
playlist_item_t *p_root, bool b_locked )
{
int i_ret;
PL_LOCK_IF( !b_locked );
i_ret = DeleteFromInput( p_playlist, p_item, p_root );
PL_UNLOCK_IF( !b_locked );
return i_ret;
}
/**
* Delete from input
*
......
......@@ -134,8 +134,6 @@ playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
input_item_t *p_input, playlist_item_t *p_root,
bool );
int playlist_DeleteFromInputInParent( playlist_t *, input_item_t *,
playlist_item_t *, bool );
int playlist_DeleteFromItemId( playlist_t*, int );
void playlist_ItemRelease( playlist_item_t * );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment