Skip to content

Commit

Permalink
[VP] fix coverity issue unchecked return value
Browse files Browse the repository at this point in the history
fix coverity issue unchecked return value.
  • Loading branch information
Dylan-debug authored and intel-mediadev committed Sep 24, 2024
1 parent 35c28c6 commit 9aadf63
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ MOS_STATUS VpPlatformInterfacsXe2_Lpm::InitVpRenderHwCaps()
// Init native adv kernel form VP Native adv kernel Binary List
for (auto &curKernelEntry : m_vpNativeAdvKernelBinaryList)
{
VP_PUBLIC_CHK_STATUS_RETURN(InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second));
InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second);
}
}
return MOS_STATUS_SUCCESS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ MOS_STATUS VpPlatformInterfaceXe2_Hpm::InitVpRenderHwCaps()
// Init native adv kernel form VP Native adv kernel Binary List
for (auto &curKernelEntry : m_vpNativeAdvKernelBinaryList)
{
VP_PUBLIC_CHK_STATUS_RETURN(InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second));
InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second);
}
}
return MOS_STATUS_SUCCESS;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,13 +339,13 @@ MOS_STATUS VpPlatformInterface::InitVpRenderHwCaps()
// Init native adv kernel form VP Native adv kernel Binary List
for (auto &curKernelEntry : m_vpNativeAdvKernelBinaryList)
{
VP_PUBLIC_CHK_STATUS_RETURN(InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second));
InitVpNativeAdvKernels(curKernelEntry.first, curKernelEntry.second);
}
}
return MOS_STATUS_SUCCESS;
}

MOS_STATUS VpPlatformInterface::InitVpNativeAdvKernels(
void VpPlatformInterface::InitVpNativeAdvKernels(
std::string kernelName,
VP_KERNEL_BINARY_ENTRY kernelBinaryEntry)
{
Expand All @@ -359,7 +359,7 @@ MOS_STATUS VpPlatformInterface::InitVpNativeAdvKernels(
vpKernel.SetKernelBinSize(kernelBinaryEntry.kernelBinSize);
m_kernelPool.insert(std::make_pair(vpKernel.GetKernelName(), vpKernel));

return MOS_STATUS_SUCCESS;
return;
}

MOS_STATUS VpPlatformInterface::InitVpCmKernels(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class VpPlatformInterface
std::string postfix = "",
uint32_t payloadOffset = CM_PAYLOAD_OFFSET);

virtual MOS_STATUS InitVpNativeAdvKernels(
virtual void InitVpNativeAdvKernels(
std::string kernelName,
VP_KERNEL_BINARY_ENTRY kernelBinaryEntry);

Expand Down

0 comments on commit 9aadf63

Please sign in to comment.