Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 899c0059 authored by Michael Bestas's avatar Michael Bestas
Browse files

techpack: camera: Remove duplicate check

Change-Id: Ibf45ddb971274ec9d6ad59b6ad459be26d639e19
parent 8200d429
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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;