summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-23 17:42:59 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-26 09:16:44 +0200
commitee219b946e4bf7df2d2c68dfaae1bdaa360ec2ea (patch)
treed553d0792553a7cbb6c68eb6b1f3619769492dec
parented0d523adb5d05d6d7feea572c518e86ff8d1e96 (diff)
uapi: turn __poll_t sparse checks on by default
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--include/uapi/linux/types.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/uapi/linux/types.h b/include/uapi/linux/types.h
index cd4f0b897a48..2fce8b6876e9 100644
--- a/include/uapi/linux/types.h
+++ b/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 */