summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-09-29 17:37:18 +0200
committerChristian Soffke <christian.soffke@gmail.com>2024-09-29 17:37:18 +0200
commit0cb0cb486ff0f9ab886d1a868aa28ee3b2f306cd (patch)
tree68d7db998001abbf92d1380257ecce0f187268e9
parentf09693b0becd5af6a32511c5ecc4d8128478752f (diff)
downloadrockbox-0cb0cb486f.tar.gz
rockbox-0cb0cb486f.zip
tagtree: remove superfluous code from insert_all_playlist
Code has no effect since commit a0e95c8. Functionality is now handled by the playlist_insert_context_add function Change-Id: Ie91f605bd7a7d03556fa70d195a06bc55866741d
-rw-r--r--apps/tagtree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/apps/tagtree.c b/apps/tagtree.c
index 267fa4fba7..83bfb4e36d 100644
--- a/apps/tagtree.c
+++ b/apps/tagtree.c
@@ -2346,8 +2346,6 @@ static bool insert_all_playlist(struct tree_context *c,
break;
}
yield();
- if (playlist == NULL && position == PLAYLIST_INSERT_FIRST)
- position = PLAYLIST_INSERT;
if (exit_loop_now)
break;