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 */
OCF_ERR_CORE_UUID_EXISTS,
/** Cache initialized with wrong metadata layout */
OCF_ERR_METADATA_LAYOUT_MISMATCH,
/** Cache initialized with wrong cache line size */
OCF_ERR_CACHE_LINE_SIZE_MISMATCH,

View File

@ -340,8 +340,8 @@ struct ocf_pipeline_properties ocf_metadata_load_sb_recov_pipeline_props = {
.steps = {
OCF_PL_STEP_FOREACH(ocf_metadata_store_segment,
ocf_metadata_load_sb_store_segment_args),
OCF_PL_STEP_ARG_INT(ocf_metadata_load_segment,
metadata_segment_sb_config),
OCF_PL_STEP_ARG_INT(ocf_metadata_load_segment,
metadata_segment_sb_config),
OCF_PL_STEP(_ocf_metadata_validate_superblock),
OCF_PL_STEP_FOREACH(ocf_metadata_load_segment,
ocf_metadata_load_sb_recov_load_segment_args),

View File

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