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 <prsethi@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2823871
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
prsethi
2022-12-08 07:19:13 +00:00
committed by mobile promotions
parent b4494a4b86
commit 204285e03f

View File

@@ -1020,10 +1020,6 @@ static int nvgpu_nvs_query_scheduler_characteristics(struct gk20a *g,
return -EINVAL; return -EINVAL;
} }
if (args->reserved2 != 0ULL) {
return -EINVAL;
}
capabilities = nvgpu_nvs_ctrl_fifo_get_capabilities(g->sched_ctrl_fifo); capabilities = nvgpu_nvs_ctrl_fifo_get_capabilities(g->sched_ctrl_fifo);
args->domain_scheduler_implementation = args->domain_scheduler_implementation =
nvgpu_nvs_translate_hw_scheduler_impl(g, capabilities->scheduler_implementation_hw); nvgpu_nvs_translate_hw_scheduler_impl(g, capabilities->scheduler_implementation_hw);