summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorAidan MacDonald <amachronic@protonmail.com>2023-01-21 16:49:17 +0000
committerAidan MacDonald <amachronic@protonmail.com>2023-01-23 12:24:12 +0000
commit551e6aac500553bdd1732f20259bb09533227338 (patch)
tree627c27b4fd8b5cb12874522493e1fcc99dffaa14 /apps
parentfcb6239aba523f054662e090bdcb4cb82148e450 (diff)
downloadrockbox-551e6aac500553bdd1732f20259bb09533227338.tar.gz
rockbox-551e6aac500553bdd1732f20259bb09533227338.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
Diffstat (limited to 'apps')
-rw-r--r--apps/playlist.h2
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 */