Skip to content

Commit d556e6e

Browse files
committed
cache opt parser refactor
1 parent 42d7993 commit d556e6e

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

storage/cacheOptParser.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,6 @@ CacheOptParser::CacheOptParser() : OptionsParser("cache", "Storage plugin implem
108108
}
109109
return true;
110110
});
111-
112-
#ifdef WITH_CTT
113-
register_option("d", "dev", "DEV", "Device name",
114-
[this](const char *arg) {
115-
m_dev = arg;
116-
return true;
117-
},
118-
OptionFlags::RequiredArgument);
119-
#endif /* WITH_CTT */
120-
121111
}
122112

123113

storage/cacheOptParser.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class CacheOptParser : public OptionsParser
4141
bool m_enable_fragmentation_cache;
4242
std::size_t m_frag_cache_size;
4343
time_t m_frag_cache_timeout;
44-
#ifdef WITH_CTT
45-
std::string m_dev;
46-
#endif /* WITH_CTT */
4744

4845
CacheOptParser();
4946
};

0 commit comments

Comments
 (0)