add IPPROTO_MAX to in.h
[musl] / src / unistd / close.c
index 231f79e..728d729 100644 (file)
@@ -4,7 +4,5 @@
 
 int close(int fd)
 {
-       int ret = syscall_cp(SYS_close, fd);
-       if (libc.testcancel) libc.testcancel();
-       return ret;
+       return syscall_cp(SYS_close, fd);
 }