Merge pull request #669 from robertbaldyga/remove-unused-error-code

Remove unused error code
This commit is contained in:
Robert Baldyga 2022-03-09 14:33:29 +01:00 committed by GitHub
commit 4690cd60fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -134,9 +134,6 @@ typedef enum {
/** Core with the uuid already exists */ /** Core with the uuid already exists */
OCF_ERR_CORE_UUID_EXISTS, OCF_ERR_CORE_UUID_EXISTS,
/** Cache initialized with wrong metadata layout */
OCF_ERR_METADATA_LAYOUT_MISMATCH,
/** Cache initialized with wrong cache line size */ /** Cache initialized with wrong cache line size */
OCF_ERR_CACHE_LINE_SIZE_MISMATCH, OCF_ERR_CACHE_LINE_SIZE_MISMATCH,

View File

@ -52,7 +52,6 @@ class OcfErrorCode(IntEnum):
OCF_ERR_CACHE_NAME_MISMATCH = auto() OCF_ERR_CACHE_NAME_MISMATCH = auto()
OCF_ERR_INVAL_CACHE_DEV = auto() OCF_ERR_INVAL_CACHE_DEV = auto()
OCF_ERR_CORE_UUID_EXISTS = auto() OCF_ERR_CORE_UUID_EXISTS = auto()
OCF_ERR_METADATA_LAYOUT_MISMATCH = auto()
OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto() OCF_ERR_CACHE_LINE_SIZE_MISMATCH = auto()
OCF_ERR_CACHE_STANDBY = auto() OCF_ERR_CACHE_STANDBY = auto()
OCF_ERR_CORE_SIZE_MISMATCH = auto() OCF_ERR_CORE_SIZE_MISMATCH = auto()