Message ID | 1481053255-24175-5-git-send-email-tim.gardner@canonical.com |
---|---|
State | New |
Headers | show |
diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index f383561..cbc2ac9 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -668,8 +668,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; }