From fbb2750c758025d6b6618f6d8aacff6d1eebc21c Mon Sep 17 00:00:00 2001 From: Tejal Kudav Date: Wed, 8 Sep 2021 16:28:08 +0000 Subject: [PATCH] gpu: nvgpu: Remove redundant retval documentation The @retval doxygen comments are sufficient to describe all the possible return values. Remove the redundant information present under @return doxygen comment. JIRA PLCF-1312 Change-Id: If0c891d122a85117f75e7428b504ef4b26991aa3 Signed-off-by: Tejal Kudav Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2591494 (cherry picked from commit 956a77c271a6333287a9ebd53881a0a566e621ed) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2600877 Reviewed-by: svcacv Reviewed-by: Vaibhav Kachore Reviewed-by: mobile promotions GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/ptimer.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h index e28ca8faa..00a7567cf 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/ptimer.h +++ b/drivers/gpu/nvgpu/include/nvgpu/ptimer.h @@ -133,7 +133,6 @@ struct nvgpu_cpu_time_correlation_sample { * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * - Return 0 to indicate success * - * @return 0 in case of success, < 0 in case of failure. * @retval -EINVAL in case invalid \a timeout value is passed. * @retval -EINVAL in case NULL pointer is passed for \a scaled_timeout. * @retval -EINVAL in case \ref gk20a.ptimer_src_freq "g->ptimer_src_freq" is 0.