audioadapter: remove redundant statement

The same check is done a little later.
This commit is contained in:
Wim Taymans 2024-09-02 11:51:40 +02:00
parent c84cf9a9d4
commit 82e4b9a213

View file

@ -511,10 +511,6 @@ static int configure_format(struct impl *this, uint32_t flags, const struct spa_
spa_log_debug(this->log, "%p: configure format:", this);
if (format == NULL && !this->have_format)
return 0;
if (format == NULL) {
if (!this->have_format)
return 0;