From 7eab7f2a9cf0d261cb49fdd440828370db5af72a Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Wed, 14 Aug 2013 16:16:32 -0700 Subject: btrfs-progs: remove __CHECKER__ from main code __CHECKER__ is only for the type juggling used to tell sparse which types need conversion between address spaces. It is not OK to use to change the code that gets checked to avoid bugs elsewhere in the build infrastructure. We want to check the code that builds when the checker isn't enabled. Signed-off-by: Zach Brown Signed-off-by: David Sterba Signed-off-by: Chris Mason --- utils.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 0717972d..61546777 100644 --- a/utils.c +++ b/utils.c @@ -24,10 +24,8 @@ #include #include #include -#ifndef __CHECKER__ #include #include -#endif #include #include #include @@ -50,11 +48,6 @@ #include "volumes.h" #include "ioctl.h" -#ifdef __CHECKER__ -#define BLKGETSIZE64 0 -static inline int ioctl(int fd, int define, u64 *size) { return 0; } -#endif - #ifndef BLKDISCARD #define BLKDISCARD _IO(0x12,119) #endif -- cgit v1.2.3