]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
md: Remove some unused macros.
authorAndre Noll <maan@systemlinux.org>
Fri, 11 Jul 2008 12:02:23 +0000 (22:02 +1000)
committerNeil Brown <neilb@suse.de>
Fri, 11 Jul 2008 12:02:23 +0000 (22:02 +1000)
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
include/linux/raid/md_p.h

index 3f2cd98c508bfdff781b361b1b86886bd65ddda8..8b4de4a41ff14c15f33550a2a9ad99955861c31e 100644 (file)
  */
 #define MD_RESERVED_BYTES              (64 * 1024)
 #define MD_RESERVED_SECTORS            (MD_RESERVED_BYTES / 512)
-#define MD_RESERVED_BLOCKS             (MD_RESERVED_BYTES / BLOCK_SIZE)
 
 #define MD_NEW_SIZE_SECTORS(x)         ((x & ~(MD_RESERVED_SECTORS - 1)) - MD_RESERVED_SECTORS)
-#define MD_NEW_SIZE_BLOCKS(x)          ((x & ~(MD_RESERVED_BLOCKS - 1)) - MD_RESERVED_BLOCKS)
 
 #define MD_SB_BYTES                    4096
 #define MD_SB_WORDS                    (MD_SB_BYTES / 4)
-#define MD_SB_BLOCKS                   (MD_SB_BYTES / BLOCK_SIZE)
 #define MD_SB_SECTORS                  (MD_SB_BYTES / 512)
 
 /*