Commit 1ac9e602 authored by Ed Cashin's avatar Ed Cashin Committed by Linus Torvalds

aoe: remove unused code

Signed-off-by: default avatarEd Cashin <ecashin@coraid.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 08b60623
...@@ -10,9 +10,6 @@ ...@@ -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 { ...@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment