techpack: camera: Remove duplicate check
Change-Id: Ibf45ddb971274ec9d6ad59b6ad459be26d639e19
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user