* [PATCH] staging: greybus: remove unused macro CAP_TIMEOUT_MS
@ 2026-06-10 17:30 Rhys Tumelty
2026-06-11 14:24 ` Alex Elder
0 siblings, 1 reply; 2+ messages in thread
From: Rhys Tumelty @ 2026-06-10 17:30 UTC (permalink / raw)
To: Viresh Kumar, Johan Hovold, Alex Elder, Greg Kroah-Hartman
Cc: greybus-dev, linux-staging, linux-kernel, Rhys Tumelty
The macro CAP_TIMEOUT_MS is defined but never used anywhere
in the kernel tree. Remove it to clean up code.
Signed-off-by: Rhys Tumelty <rhys@tumelty.co.uk>
---
drivers/staging/greybus/authentication.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/greybus/authentication.c b/drivers/staging/greybus/authentication.c
index 97b9937bbdc1..d8f2cd43201f 100644
--- a/drivers/staging/greybus/authentication.c
+++ b/drivers/staging/greybus/authentication.c
@@ -15,8 +15,6 @@
#include "greybus_authentication.h"
#include "firmware.h"
-#define CAP_TIMEOUT_MS 1000
-
/*
* Number of minor devices this driver supports.
* There will be exactly one required per Interface.
--
2.54.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: greybus: remove unused macro CAP_TIMEOUT_MS
2026-06-10 17:30 [PATCH] staging: greybus: remove unused macro CAP_TIMEOUT_MS Rhys Tumelty
@ 2026-06-11 14:24 ` Alex Elder
0 siblings, 0 replies; 2+ messages in thread
From: Alex Elder @ 2026-06-11 14:24 UTC (permalink / raw)
To: Rhys Tumelty, Viresh Kumar, Johan Hovold, Alex Elder, Greg Kroah-Hartman
Cc: greybus-dev, linux-staging, linux-kernel
On 6/10/26 12:30 PM, Rhys Tumelty wrote:
> The macro CAP_TIMEOUT_MS is defined but never used anywhere
> in the kernel tree. Remove it to clean up code.
>
> Signed-off-by: Rhys Tumelty <rhys@tumelty.co.uk>
Looks good.
Reviewed-by: Alex Elder <elder@riscstar.com>
> ---
> drivers/staging/greybus/authentication.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/staging/greybus/authentication.c b/drivers/staging/greybus/authentication.c
> index 97b9937bbdc1..d8f2cd43201f 100644
> --- a/drivers/staging/greybus/authentication.c
> +++ b/drivers/staging/greybus/authentication.c
> @@ -15,8 +15,6 @@
> #include "greybus_authentication.h"
> #include "firmware.h"
>
> -#define CAP_TIMEOUT_MS 1000
> -
> /*
> * Number of minor devices this driver supports.
> * There will be exactly one required per Interface.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-11 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-10 17:30 [PATCH] staging: greybus: remove unused macro CAP_TIMEOUT_MS Rhys Tumelty
2026-06-11 14:24 ` Alex Elder
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®