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.
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.