mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
spa: alsa,v4l2: simplify inotify read loop exit condition
The removed condition is strictly a subset of the condition
that is checked one line below, so remove it.
(cherry picked from commit 18cfb808bd)
This commit is contained in:
parent
2a02ef384d
commit
98f2b18277
2 changed files with 0 additions and 4 deletions
|
|
@ -826,8 +826,6 @@ static void impl_on_notify_events(struct spa_source *source)
|
|||
void *p, *e;
|
||||
|
||||
len = read(source->fd, &buf, sizeof(buf));
|
||||
if (len < 0 && errno != EAGAIN)
|
||||
break;
|
||||
if (len <= 0)
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue