summaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe/aoe.h
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-10-05 02:16:47 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 20:05:30 +0200
commit1ac9e602625817b0c16cc70ea496875f7bd58a4d (patch)
treed5c23b085814fd39a13a5f6e798e56a15d9f81b9 /drivers/block/aoe/aoe.h
parentaoe: make dynamic block minor numbers the default (diff)
downloadlinux-1ac9e602625817b0c16cc70ea496875f7bd58a4d.tar.xz
linux-1ac9e602625817b0c16cc70ea496875f7bd58a4d.zip
aoe: remove unused code
Signed-off-by: Ed Cashin <ecashin@coraid.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/block/aoe/aoe.h4
1 files changed, 0 insertions, 4 deletions
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,