Message ID | 1481220077-3812-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 542db45..a59a390 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -662,8 +662,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; }