[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aeb63fb8-d966-4aab-ad5f-aa62219048db@linuxfoundation.org>
Date: Tue, 9 Jul 2024 13:07:13 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Zhu Jun <zhujun2@...s.chinamobile.com>, shuah@...nel.org
Cc: angquan21@...il.com, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [RESEND] selftests/breakpoints:Remove unused variable
On 7/9/24 03:44, Zhu Jun wrote:
> This variable is never referenced in the code, just remove them.
>
Please add information on how this problem was found. If you used a
tool, include which tool and warning from the tool.
> Signed-off-by: Zhu Jun <zhujun2@...s.chinamobile.com>
> ---
> tools/testing/selftests/breakpoints/step_after_suspend_test.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/testing/selftests/breakpoints/step_after_suspend_test.c b/tools/testing/selftests/breakpoints/step_after_suspend_test.c
> index b8703c499d28..dfec31fb9b30 100644
> --- a/tools/testing/selftests/breakpoints/step_after_suspend_test.c
> +++ b/tools/testing/selftests/breakpoints/step_after_suspend_test.c
> @@ -130,7 +130,6 @@ int run_test(int cpu)
> void suspend(void)
> {
> int power_state_fd;
> - struct sigevent event = {};
> int timerfd;
> int err;
> struct itimerspec spec = {};
thanks,
-- Shuah
Powered by blists - more mailing lists