X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Ftarget%2Ftarget_core_user.c;h=a7d30e894cab2659aac52c7c59dea950f32c6ef9;hb=f6dd9a1be5de38e3ac0b75d1018d9f723bfe8b10;hp=5e6d6cb348fc1c902ea74079357430d5dfb0d44a;hpb=87fb89c353234910f500934b5f83577d3df88810;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/target/target_core_user.c b/drivers/target/target_core_user.c index 5e6d6cb348fc..a7d30e894cab 100644 --- a/drivers/target/target_core_user.c +++ b/drivers/target/target_core_user.c @@ -645,8 +645,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; }