浏览代码

uapi: turn __poll_t sparse checks on by default

Signed-off-by: Christoph Hellwig <hch@lst.de>
Christoph Hellwig 7 年之前
父节点
当前提交
ee219b946e
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      include/uapi/linux/types.h

+ 0 - 4
include/uapi/linux/types.h

@@ -49,11 +49,7 @@ typedef __u32 __bitwise __wsum;
 #define __aligned_be64 __be64 __attribute__((aligned(8)))
 #define __aligned_le64 __le64 __attribute__((aligned(8)))
 
-#ifdef __CHECK_POLL
 typedef unsigned __bitwise __poll_t;
-#else
-typedef unsigned __poll_t;
-#endif
 
 #endif /*  __ASSEMBLY__ */
 #endif /* _UAPI_LINUX_TYPES_H */