casadm: remove dead code
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
cd51bfbab1
commit
9784abefd7
@ -1033,20 +1033,12 @@ int start_cache(uint16_t cache_id, unsigned int cache_init,
|
||||
}
|
||||
}
|
||||
|
||||
check_cache_scheduler(cache_device,
|
||||
cmd.cache_elevator);
|
||||
|
||||
status = SUCCESS;
|
||||
check_cache_scheduler(cache_device, cmd.cache_elevator);
|
||||
|
||||
check_cache_state_incomplete(cache_id, fd);
|
||||
close(fd);
|
||||
|
||||
if (status == SUCCESS) {
|
||||
cas_printf(LOG_INFO, "Successfully added cache instance %u\n", cache_id);
|
||||
} else {
|
||||
cas_printf(LOG_ERR, "Failed to start cache\n");
|
||||
return FAILURE;
|
||||
}
|
||||
cas_printf(LOG_INFO, "Successfully added cache instance %u\n", cache_id);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user