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:
Barnabás Pőcze 2022-01-30 16:54:32 +01:00 committed by Wim Taymans
parent 9447dbe4f8
commit 29a288ebae
2 changed files with 0 additions and 2 deletions

View file

@ -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);

View file

@ -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);
}