diff --git a/level_zero/core/source/cmdlist/cmdlist_hw.inl b/level_zero/core/source/cmdlist/cmdlist_hw.inl index 40c59100cc..40b3b0a612 100644 --- a/level_zero/core/source/cmdlist/cmdlist_hw.inl +++ b/level_zero/core/source/cmdlist/cmdlist_hw.inl @@ -1658,7 +1658,6 @@ void CommandListCoreFamily::appendSignalEventPostWalker(ze_event_ } else { using POST_SYNC_OPERATION = typename GfxFamily::PIPE_CONTROL::POST_SYNC_OPERATION; using GfxFamily = typename NEO::GfxFamilyMapper::GfxFamily; - auto event = Event::fromHandle(hEvent); commandContainer.addToResidencyContainer(&event->getAllocation(this->device)); uint64_t baseAddr = event->getGpuAddress(this->device);