diff options
author | 2008-07-11 22:02:23 +1000 | |
---|---|---|
committer | 2008-07-11 22:02:23 +1000 | |
commit | 7e93a89251d4ed7bd4475db62616ccd03ddfd01a (patch) | |
tree | 8c419717a524629383ceeff42b53eda27b3a0433 /include/linux/raid | |
parent | md: Turn rdev->sb_offset into a sector-based quantity. (diff) | |
download | linux-7e93a89251d4ed7bd4475db62616ccd03ddfd01a.tar.gz linux-7e93a89251d4ed7bd4475db62616ccd03ddfd01a.tar.bz2 linux-7e93a89251d4ed7bd4475db62616ccd03ddfd01a.zip |
md: Remove some unused macros.
Signed-off-by: Andre Noll <maan@systemlinux.org>
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'include/linux/raid')
-rw-r--r-- | include/linux/raid/md_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h index 3f2cd98c508b..8b4de4a41ff1 100644 --- a/include/linux/raid/md_p.h +++ b/include/linux/raid/md_p.h @@ -43,14 +43,11 @@ */ #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) /* |