mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse-server: pending-sample: remove done flag
The `done` member of the `pending_sample` struct is only ever set, but never read. Remove it.
This commit is contained in:
parent
9447dbe4f8
commit
29a288ebae
2 changed files with 0 additions and 2 deletions
|
|
@ -39,7 +39,6 @@ struct pending_sample {
|
|||
struct sample_play *play;
|
||||
struct spa_hook listener;
|
||||
uint32_t tag;
|
||||
unsigned int done:1;
|
||||
};
|
||||
|
||||
void pending_sample_free(struct pending_sample *ps);
|
||||
|
|
|
|||
|
|
@ -2360,7 +2360,6 @@ static void sample_play_done(void *data, int res)
|
|||
else
|
||||
pw_log_info("[%s] PLAY_SAMPLE done tag:%u", client->name, ps->tag);
|
||||
|
||||
ps->done = true;
|
||||
pw_work_queue_add(impl->work_queue, ps, 0,
|
||||
on_sample_done, client);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue