Re: [PATCH] bcache: remove unused constants

Coly Li <[email protected]>
Newsgroups org.kernel.vger.linux-bcache
Message-ID <[email protected]>

> 2025年4月16日 00:59,Robert Pang <[email protected]> 写道:
> 
> Remove constants MAX_NEED_GC and MAX_SAVE_PRIO in btree.c that have been unused
> since initial commit.
> 
> Signed-off-by: Robert Pang <[email protected]>

Reviewed-by: Coly Li <[email protected] <mailto:[email protected]>>

Thanks.


Coly Li



> ---
> drivers/md/bcache/btree.c | 2 --
> 1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c
> index ed40d8600656..f991be2bc44e 100644
> --- a/drivers/md/bcache/btree.c
> +++ b/drivers/md/bcache/btree.c
> @@ -88,8 +88,6 @@
>  * Test module load/unload
>  */
> 
> -#define MAX_NEED_GC 64
> -#define MAX_SAVE_PRIO 72
> #define MAX_GC_TIMES 100
> #define MIN_GC_NODES 100
> #define GC_SLEEP_MS 100
> -- 
> 2.49.0.805.g082f7c87e0-goog
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.