diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index 9a1b314f64824..90e55b469c1ea 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -587,8 +587,6 @@ static int tcmu_check_expired_cmd(int id, void *p, void *data) target_complete_cmd(cmd->se_cmd, SAM_STAT_CHECK_CONDITION); cmd->se_cmd = NULL; - kmem_cache_free(tcmu_cmd_cache, cmd); - return 0; }