Commit fc4e990a authored by Qiang Liu's avatar Qiang Liu Committed by Alex Deucher
Browse files

drm/amdgpu: remove duplicated argument wptr_va



The duplicate judgment of wptr_va could be removed to simplify the logic

Signed-off-by: default avatarQiang Liu <liuqiang@kylinos.cn>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent bf4e4b97
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;