techpack: camera: Remove duplicate check

Change-Id: Ibf45ddb971274ec9d6ad59b6ad459be26d639e19
This commit is contained in:
Michael Bestas
2023-06-06 15:23:42 +03:00
parent 8200d429b0
commit 899c005941

View File

@@ -267,11 +267,6 @@ int cam_mem_get_cpu_buf(int32_t buf_handle, uintptr_t *vaddr_ptr, size_t *len)
return -EINVAL;
}
if (!atomic_read(&cam_mem_mgr_state)) {
CAM_ERR(CAM_MEM, "failed. mem_mgr not initialized");
return -EINVAL;
}
if (!buf_handle || !vaddr_ptr || !len)
return -EINVAL;