[Nbd] [PATCH 2/2] nbd-server: remove unused CFILE_ -error codes
Signed-off-by: Tuomas Jorma Juhani Räsänen <tuomasjjrasanen@...1261...>
---
nbd-server.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/nbd-server.c b/nbd-server.c
index 217a07a..7cfbe01 100644
--- a/nbd-server.c
+++ b/nbd-server.c
@@ -613,13 +613,10 @@ SERVER* cmdline(int argc, char *argv[]) {
typedef enum {
CFILE_NOTFOUND, /**< The configuration file is not found */
CFILE_MISSING_GENERIC, /**< The (required) group "generic" is missing */
- CFILE_KEY_MISSING, /**< A (required) key is missing */
CFILE_VALUE_INVALID, /**< A value is syntactically invalid */
CFILE_VALUE_UNSUPPORTED,/**< A value is not supported in this build */
CFILE_NO_EXPORTS, /**< A config file was specified that does not
define any exports */
- CFILE_INCORRECT_PORT, /**< The reserved port was specified for an
- old-style export. */
CFILE_DIR_UNKNOWN, /**< A directory requested does not exist*/
CFILE_READDIR_ERR, /**< Error occurred during readdir() */
} CFILE_ERRORS;
--
1.7.10.4
Reply to: