summaryrefslogtreecommitdiffstats
path: root/fs/minix/minix.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/minix/minix.h')
-rw-r--r--fs/minix/minix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/minix/minix.h b/fs/minix/minix.h
index 6415fe0d2385..26bbd55e82ea 100644
--- a/fs/minix/minix.h
+++ b/fs/minix/minix.h
@@ -130,7 +130,7 @@ static inline int minix_find_first_zero_bit(const void *vaddr, unsigned size)
if (!size)
return 0;
- size = (size >> 4) + ((size & 15) > 0);
+ size >>= 4;
while (*p++ == 0xffff) {
if (--size == 0)
return (p - addr) << 4;