Diffstat (limited to 'apps/playlist.c')
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/playlist.c b/apps/playlist.c
index 1115d9a4e1..ccceb4db7b 100644
@@ -2335,8 +2335,7 @@ void playlist_close(struct playlist_info* playlist)
- * Delete track at specified index. If index is PLAYLIST_DELETE_CURRENT then
- * we want to delete the current playing track.
+ * Delete track at specified index.
int playlist_delete(struct playlist_info* playlist, int index)
@@ -2355,9 +2354,6 @@ int playlist_delete(struct playlist_info* playlist, int index)
- if (index == PLAYLIST_DELETE_CURRENT)
- index = playlist->index;
result = remove_track_unlocked(playlist, index, true);