spa: remove async members

Some node implementations have an `async` member, but these members
are not written anywhere. So remove them.
This commit is contained in:
Barnabás Pőcze 2026-03-27 11:06:56 +01:00
parent 84e7b744a6
commit 00b4717c6e
3 changed files with 5 additions and 8 deletions

View file

@ -118,7 +118,6 @@ struct impl {
struct spa_hook_list hooks;
struct spa_callbacks callbacks;
bool async;
struct spa_source timer_source;
bool started;
@ -315,7 +314,7 @@ static int impl_node_set_io(void *object, uint32_t id, void *data, size_t size)
static void set_timer(struct impl *this, bool enabled)
{
if (this->async || this->props.live) {
if (this->props.live) {
struct itimerspec ts = {0};
if (enabled) {
@ -339,7 +338,7 @@ static int read_timer(struct impl *this)
uint64_t expirations;
int res = 0;
if (this->async || this->props.live) {
if (this->props.live) {
if ((res = spa_system_timerfd_read(this->data_system,
this->timer_source.fd, &expirations)) < 0) {
if (res != -EAGAIN)