summaryrefslogtreecommitdiff
path: root/lib/igt_primes.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_primes.c')
-rw-r--r--lib/igt_primes.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/igt_primes.c b/lib/igt_primes.c
index 3578a3c6..3941bb21 100644
--- a/lib/igt_primes.c
+++ b/lib/igt_primes.c
@@ -64,21 +64,11 @@ static inline unsigned long __bit__(unsigned long nr)
return 1UL << (nr % BITS_PER_LONG);
}
-static inline void set_bit(unsigned long nr, unsigned long *addr)
-{
- addr[nr / BITS_PER_LONG] |= __bit__(nr);
-}
-
static inline void clear_bit(unsigned long nr, unsigned long *addr)
{
addr[nr / BITS_PER_LONG] &= ~__bit__(nr);
}
-static inline bool test_bit(unsigned long nr, const unsigned long *addr)
-{
- return addr[nr / BITS_PER_LONG] & __bit__(nr);
-}
-
static unsigned long
__find_next_bit(const unsigned long *addr,
unsigned long nbits, unsigned long start,