Remove unused error code

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga 2022-03-09 15:51:22 +01:00
parent 7ba87f767d
commit 91508af014
3 changed files with 1 additions and 6 deletions

View File

@ -170,10 +170,6 @@ struct {
OCF_ERR_NO_LOCK,
"Failed to lock cache for management operation."
},
{
OCF_ERR_METADATA_LAYOUT_MISMATCH,
"Metadata layout mismatch"
},
{
OCF_ERR_CACHE_LINE_SIZE_MISMATCH,
"Cache line size mismatch"

View File

@ -51,7 +51,6 @@ static struct cas_error_map_entry cas_ocf_error_map[] = {
{ OCF_ERR_CACHE_NAME_MISMATCH, EINVAL },
{ OCF_ERR_INVAL_CACHE_DEV, EINVAL },
{ OCF_ERR_CORE_UUID_EXISTS, EINVAL },
{ OCF_ERR_METADATA_LAYOUT_MISMATCH, EINVAL },
{ OCF_ERR_CACHE_LINE_SIZE_MISMATCH, EINVAL },
{ OCF_ERR_CACHE_STANDBY, EBUSY },
};

2
ocf

@ -1 +1 @@
Subproject commit be4927f52409c5eb0bcb2078a6e536fd1e9c3cf8
Subproject commit 4690cd60fea0645cf8207d7fbba2b318783b10f4