aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/aoe
diff options
context:
space:
mode:
authorEd Cashin <ecashin@coraid.com>2012-10-04 20:16:47 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-10-05 14:05:30 -0400
commit1ac9e602625817b0c16cc70ea496875f7bd58a4d (patch)
treed5c23b085814fd39a13a5f6e798e56a15d9f81b9 /drivers/block/aoe
parent08b60623510aebddd9ac4bf61dbe2d39313dddfd (diff)
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 'drivers/block/aoe')
-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 @@
10#define AOE_PARTITIONS (16) 10#define AOE_PARTITIONS (16)
11#endif 11#endif
12 12
13#define SYSMINOR(aoemajor, aoeminor) ((aoemajor) * NPERSHELF + (aoeminor))
14#define AOEMAJOR(sysminor) ((sysminor) / NPERSHELF)
15#define AOEMINOR(sysminor) ((sysminor) % NPERSHELF)
16#define WHITESPACE " \t\v\f\n" 13#define WHITESPACE " \t\v\f\n"
17 14
18enum { 15enum {
@@ -82,7 +79,6 @@ enum {
82 79
83enum { 80enum {
84 DEFAULTBCNT = 2 * 512, /* 2 sectors */ 81 DEFAULTBCNT = 2 * 512, /* 2 sectors */
85 NPERSHELF = 16, /* number of slots per shelf address */
86 MIN_BUFS = 16, 82 MIN_BUFS = 16,
87 NTARGETS = 8, 83 NTARGETS = 8,
88 NAOEIFS = 8, 84 NAOEIFS = 8,