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:
Barnabás Pőcze 2024-01-07 02:36:05 +01:00 committed by Robert Mader
parent 2a02ef384d
commit 98f2b18277
2 changed files with 0 additions and 4 deletions

View file

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