Browse Source

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>
Ed Cashin 12 years ago
parent
commit
1ac9e60262
1 changed files with 0 additions and 4 deletions
  1. 0 4
      drivers/block/aoe/aoe.h

+ 0 - 4
drivers/block/aoe/aoe.h

@@ -10,9 +10,6 @@
 #define AOE_PARTITIONS (16)
 #define AOE_PARTITIONS (16)
 #endif
 #endif
 
 
-#define SYSMINOR(aoemajor, aoeminor) ((aoemajor) * NPERSHELF + (aoeminor))
-#define AOEMAJOR(sysminor) ((sysminor) / NPERSHELF)
-#define AOEMINOR(sysminor) ((sysminor) % NPERSHELF)
 #define WHITESPACE " \t\v\f\n"
 #define WHITESPACE " \t\v\f\n"
 
 
 enum {
 enum {
@@ -82,7 +79,6 @@ enum {
 
 
 enum {
 enum {
 	DEFAULTBCNT = 2 * 512,	/* 2 sectors */
 	DEFAULTBCNT = 2 * 512,	/* 2 sectors */
-	NPERSHELF = 16,		/* number of slots per shelf address */
 	MIN_BUFS = 16,
 	MIN_BUFS = 16,
 	NTARGETS = 8,
 	NTARGETS = 8,
 	NAOEIFS = 8,
 	NAOEIFS = 8,