Message ID | 1277158034-21843-2-git-send-email-ernesto@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/dsp/bridge/pmgr/cmm.c b/drivers/dsp/bridge/pmgr/cmm.c index 7aa4ca4..1134193 100644 --- a/drivers/dsp/bridge/pmgr/cmm.c +++ b/drivers/dsp/bridge/pmgr/cmm.c @@ -996,10 +996,7 @@ int cmm_xlator_delete(struct cmm_xlatorobject *xlator, bool bForce) DBC_REQUIRE(refs > 0); - if (xlator_obj) - kfree(xlator_obj); - else - status = -EFAULT; + kfree(xlator_obj); return status; }