mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
drm/amdgpu: remove duplicated argument wptr_va
The duplicate judgment of wptr_va could be removed to simplify the logic Signed-off-by: Qiang Liu <liuqiang@kylinos.cn> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -567,7 +567,6 @@ int amdgpu_userq_ioctl(struct drm_device *dev, void *data,
|
||||
args->in.queue_size ||
|
||||
args->in.rptr_va ||
|
||||
args->in.wptr_va ||
|
||||
args->in.wptr_va ||
|
||||
args->in.mqd ||
|
||||
args->in.mqd_size)
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user