From 204285e03f4e66daa36ed1563bb10f3dd2dca864 Mon Sep 17 00:00:00 2001 From: prsethi Date: Thu, 8 Dec 2022 07:19:13 +0000 Subject: [PATCH] gpu: nvpgu: remove check for reserved2 Variable reserved2 is updated to array and 0 check will not make much sense now. Removing the check. Bug 3884011 Change-Id: If6f256d06ea8e692fae2c8c8b0eaf1214cd915fb Signed-off-by: prsethi Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2823871 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/ioctl_nvs.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/gpu/nvgpu/os/linux/ioctl_nvs.c b/drivers/gpu/nvgpu/os/linux/ioctl_nvs.c index 7f543bd64..50f4541fa 100644 --- a/drivers/gpu/nvgpu/os/linux/ioctl_nvs.c +++ b/drivers/gpu/nvgpu/os/linux/ioctl_nvs.c @@ -1020,10 +1020,6 @@ static int nvgpu_nvs_query_scheduler_characteristics(struct gk20a *g, return -EINVAL; } - if (args->reserved2 != 0ULL) { - return -EINVAL; - } - capabilities = nvgpu_nvs_ctrl_fifo_get_capabilities(g->sched_ctrl_fifo); args->domain_scheduler_implementation = nvgpu_nvs_translate_hw_scheduler_impl(g, capabilities->scheduler_implementation_hw);