projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b6062
)
aoe: remove unused code
author
Ed Cashin
<
[email protected]
>
Fri, 5 Oct 2012 00:16:47 +0000
(17:16 -0700)
committer
Linus Torvalds
<
[email protected]
>
Fri, 5 Oct 2012 18:05:30 +0000
(
03:05
+0900)
Signed-off-by: Ed Cashin <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/block/aoe/aoe.h
patch
|
blob
|
history
diff --git
a/drivers/block/aoe/aoe.h
b/drivers/block/aoe/aoe.h
index 4ae2468b4a06a44395e503e67d131b40c1720d99..c2bf79791e35f5558432a5cb2344b10b5717dd92 100644
(file)
--- 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,