From: Andre Noll Date: Fri, 11 Jul 2008 12:02:23 +0000 (+1000) Subject: md: Remove some unused macros. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e93a89251d4ed7bd4475db62616ccd03ddfd01a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git md: Remove some unused macros. Signed-off-by: Andre Noll Signed-off-by: Neil Brown --- 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) /*