diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-21 16:49:17 +0000 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2023-01-23 12:24:12 +0000 |
commit | 551e6aac500553bdd1732f20259bb09533227338 (patch) | |
tree | 627c27b4fd8b5cb12874522493e1fcc99dffaa14 | |
parent | fcb6239aba523f054662e090bdcb4cb82148e450 (diff) | |
download | rockbox-551e6aac50.tar.gz rockbox-551e6aac50.zip |
playlist: Remove volatile from indices
This is not necessary. Volatile doesn't create a memory barrier
wrt. non-volatile accesses and there are no interrupts involved,
so there's no reason to use it here.
Change-Id: I78299e2f318e68735364601b3bc2aa036e71130e
-rw-r--r-- | apps/playlist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/playlist.h b/apps/playlist.h index 5a8f3ec360..f97244322b 100644 --- a/apps/playlist.h +++ b/apps/playlist.h @@ -83,7 +83,7 @@ struct playlist_info int max_playlist_size; /* Max number of files in playlist. Mirror of global_settings.max_files_in_playlist */ int num_inserted_tracks; /* number of tracks inserted */ - volatile unsigned long *indices; /* array of indices */ + unsigned long *indices; /* array of indices */ struct chunk_alloc_header name_chunk_buffer; /* chunk buffer for in-ram playlist */ |