diff options
author | Ed Cashin <ecashin@coraid.com> | 2012-10-04 20:16:35 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-05 14:05:27 -0400 |
commit | b21faa25c6d25a76c09f1e05a1b18ee2372e3841 (patch) | |
tree | 0a09a402dbfa7f2179a0921be004e53d19201053 /drivers/block/aoe/aoe.h | |
parent | 1b86fda9adf1b691a76f8ceddfc59d0c8386257c (diff) |
aoe: remove unused code and add cosmetic improvements
This change removes some unused code and attempts to increase code
consistency.
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/aoe.h')
-rw-r--r-- | drivers/block/aoe/aoe.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/block/aoe/aoe.h b/drivers/block/aoe/aoe.h index dab7258ddb26..eb41fc549959 100644 --- a/drivers/block/aoe/aoe.h +++ b/drivers/block/aoe/aoe.h | |||
@@ -75,18 +75,14 @@ enum { | |||
75 | DEVFL_UP = 1, /* device is installed in system and ready for AoE->ATA commands */ | 75 | DEVFL_UP = 1, /* device is installed in system and ready for AoE->ATA commands */ |
76 | DEVFL_TKILL = (1<<1), /* flag for timer to know when to kill self */ | 76 | DEVFL_TKILL = (1<<1), /* flag for timer to know when to kill self */ |
77 | DEVFL_EXT = (1<<2), /* device accepts lba48 commands */ | 77 | DEVFL_EXT = (1<<2), /* device accepts lba48 commands */ |
78 | DEVFL_CLOSEWAIT = (1<<3), /* device is waiting for all closes to revalidate */ | 78 | DEVFL_GDALLOC = (1<<3), /* need to alloc gendisk */ |
79 | DEVFL_GDALLOC = (1<<4), /* need to alloc gendisk */ | 79 | DEVFL_KICKME = (1<<4), /* slow polling network card catch */ |
80 | DEVFL_KICKME = (1<<5), /* slow polling network card catch */ | 80 | DEVFL_NEWSIZE = (1<<5), /* need to update dev size in block layer */ |
81 | DEVFL_NEWSIZE = (1<<6), /* need to update dev size in block layer */ | ||
82 | |||
83 | BUFFL_FAIL = 1, | ||
84 | }; | 81 | }; |
85 | 82 | ||
86 | enum { | 83 | enum { |
87 | DEFAULTBCNT = 2 * 512, /* 2 sectors */ | 84 | DEFAULTBCNT = 2 * 512, /* 2 sectors */ |
88 | NPERSHELF = 16, /* number of slots per shelf address */ | 85 | NPERSHELF = 16, /* number of slots per shelf address */ |
89 | FREETAG = -1, | ||
90 | MIN_BUFS = 16, | 86 | MIN_BUFS = 16, |
91 | NTARGETS = 8, | 87 | NTARGETS = 8, |
92 | NAOEIFS = 8, | 88 | NAOEIFS = 8, |