mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
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
This commit is contained in:
parent
fcb6239aba
commit
551e6aac50
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue