From 96dd251571f1440bd4699c117706b8728990ec10 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Mon, 30 Oct 2023 18:49:42 +0100 Subject: Remove playlist_shutdown from playlist_resume This was added in 5e757b4 as a band-aid to prevent control data from being discarded, but has since become superfluous after the removal of the control file cache in 2e99e21. Change-Id: Ia7bd84f9442ec1103aee8d3c4454216719aa2d66 --- apps/playlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/playlist.c b/apps/playlist.c index 599022817d..88cb375568 100644 --- a/apps/playlist.c +++ b/apps/playlist.c @@ -3023,7 +3023,6 @@ int playlist_resume(void) STORAGE_ALIGN_BUFFER(buffer, buflen); buflen = ALIGN_DOWN(buflen, 512); /* to avoid partial sector I/O */ - playlist_shutdown(); /* flush any cached control commands to disk */ empty_playlist_unlocked(playlist, true); playlist->control_fd = open(playlist->control_filename, O_RDWR); -- cgit v1.2.3