diff --git a/libavutil/random_seed.c b/libavutil/random_seed.c index a2b388549c..b9222fc3ac 100644 --- a/libavutil/random_seed.c +++ b/libavutil/random_seed.c @@ -31,9 +31,6 @@ static int read_random(uint32_t *dst, const char *file) if (fd == -1) return -1; -#if HAVE_FCNTL && defined(O_NONBLOCK) - if (fcntl(fd, F_SETFL, fcntl(fd, F_GETFL) | O_NONBLOCK) != -1) -#endif err = read(fd, dst, sizeof(*dst)); close(fd);