diff --git a/spa/plugins/alsa/alsa-udev.c b/spa/plugins/alsa/alsa-udev.c index 58ff5032d..be40bb26b 100644 --- a/spa/plugins/alsa/alsa-udev.c +++ b/spa/plugins/alsa/alsa-udev.c @@ -823,8 +823,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; diff --git a/spa/plugins/v4l2/v4l2-udev.c b/spa/plugins/v4l2/v4l2-udev.c index dc82fc447..733f3da2a 100644 --- a/spa/plugins/v4l2/v4l2-udev.c +++ b/spa/plugins/v4l2/v4l2-udev.c @@ -428,8 +428,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;