[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7f6f9c8e-8bed-458d-92cc-32b68c68ef21@linuxfoundation.org>
Date: Wed, 10 Jul 2024 09:56:53 -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: [PATCH v2] selftests/breakpoints:Remove unused variable
On 7/9/24 20:11, Zhu Jun wrote:
> This variable is never referenced in the code, just remove them
> that this problem was discovered by reading the code
>
> Signed-off-by: Zhu Jun <zhujun2@...s.chinamobile.com>
> ---
> Changes in v2:
> - modify commit info
>
> 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 = {};
Applied to linux-kselftest next for Linux 6.11-rc1.
thanks,
-- Shuah
Powered by blists - more mailing lists