mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user