video: rockchip: rga3: remove useless mutex_unlock

Fixes: c09c257b5d ("video: rockchip: rga3: fix map/unmap buffers in mutex_lock")

Change-Id: Ic56df7f2c7ae6a44a5fe38afd04e33fc9e2c47cb
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
This commit is contained in:
Yu Qiaowei
2025-08-28 17:16:32 +08:00
committed by Tao Huang
parent 2e2bf5a3c9
commit a79b096740

View File

@@ -2385,8 +2385,6 @@ int rga_mm_import_buffer(struct rga_external_buffer *external_buffer,
internal_buffer = kzalloc(sizeof(struct rga_internal_buffer), GFP_KERNEL);
if (internal_buffer == NULL) {
rga_err("%s alloc internal_buffer error!\n", __func__);
mutex_unlock(&mm->lock);
return -ENOMEM;
}