From: Ed Cashin Date: Fri, 5 Oct 2012 00:16:47 +0000 (-0700) Subject: aoe: remove unused code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1ac9e602625817b0c16cc70ea496875f7bd58a4d;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git aoe: remove unused code Signed-off-by: Ed Cashin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index 4ae2468b4a06..c2bf79791e35 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h @@ -10,9 +10,6 @@ #define AOE_PARTITIONS (16) #endif -#define SYSMINOR(aoemajor, aoeminor) ((aoemajor) * NPERSHELF + (aoeminor)) -#define AOEMAJOR(sysminor) ((sysminor) / NPERSHELF) -#define AOEMINOR(sysminor) ((sysminor) % NPERSHELF) #define WHITESPACE " \t\v\f\n" enum { @@ -82,7 +79,6 @@ enum { enum { DEFAULTBCNT = 2 * 512, /* 2 sectors */ - NPERSHELF = 16, /* number of slots per shelf address */ MIN_BUFS = 16, NTARGETS = 8, NAOEIFS = 8,