function.
+2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/fs/fshelp.c (grub_fshelp_log2blksize): Remove now unused
+ function.
+
2013-03-07 Andrey Borzenkov <arvidjaar@gmail.com>
* grub-core/fs/iso9660.c (add_part): Remove always_inline attribute
return len;
}
-
-unsigned int
-grub_fshelp_log2blksize (unsigned int blksize, unsigned int *pow)
-{
- int mod;
-
- *pow = 0;
- while (blksize > 1)
- {
- mod = blksize - ((blksize >> 1) << 1);
- blksize >>= 1;
-
- /* Check if it really is a power of two. */
- if (mod)
- return grub_error (GRUB_ERR_BAD_NUMBER,
- "the blocksize is not a power of two");
- (*pow)++;
- }
-
- return GRUB_ERR_NONE;
-}
grub_off_t filesize, int log2blocksize,
grub_disk_addr_t blocks_start);
-unsigned int
-EXPORT_FUNC(grub_fshelp_log2blksize) (unsigned int blksize,
- unsigned int *pow);
-
#endif /* ! GRUB_FSHELP_HEADER */