remove not needed code.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2021-07-08 14:58:25 +00:00
committed by Compute-Runtime-Automation
parent d3d2e153f2
commit 60df89976a

View File

@ -1388,7 +1388,6 @@ inline bool CommandStreamReceiverHw<GfxFamily>::initDirectSubmission(Device &dev
} else {
directSubmission = DirectSubmissionHw<GfxFamily, RenderDispatcher<GfxFamily>>::create(device, osContext);
ret = directSubmission->initialize(submitOnInit);
this->dispatchMode = DispatchMode::ImmediateDispatch;
}
osContext.setDirectSubmissionActive();
}