remove useless null check before call to free in fclose
[oweals/musl.git] / src / stdio / __stdio_close.c
1 #include "stdio_impl.h"
2
3 static int dummy(int fd)
4 {
5         return fd;
6 }
7
8 weak_alias(dummy, __aio_close);
9
10 int __stdio_close(FILE *f)
11 {
12         return syscall(SYS_close, __aio_close(f->fd));
13 }