diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-10-30 18:49:42 +0100 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-10-30 18:49:42 +0100 |
commit | 96dd251571f1440bd4699c117706b8728990ec10 (patch) | |
tree | 4432a5147358037ed8de0cc5a710c06d4df19f18 | |
parent | 45746934c49ee151051be55b8ef6187d82edba36 (diff) | |
download | rockbox-96dd251571.tar.gz rockbox-96dd251571.zip |
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
-rw-r--r-- | apps/playlist.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |