aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRobert Pang <robertpang@google.com>2025-05-27 13:16:00 +0800
committerJens Axboe <axboe@kernel.dk>2025-05-27 07:38:19 -0600
commit5a08e49f2359a14629f27da99aaf0f1c3a68b850 (patch)
tree350cf98c95db71acbd334ef2beafaa3dfb3f90d5
parentbcache: fix NULL pointer in cache_set_flush() (diff)
downloadwireguard-linux-5a08e49f2359a14629f27da99aaf0f1c3a68b850.tar.xz
wireguard-linux-5a08e49f2359a14629f27da99aaf0f1c3a68b850.zip
bcache: remove unused constants
Remove constants MAX_NEED_GC and MAX_SAVE_PRIO in btree.c that have been unused since initial commit. Signed-off-by: Robert Pang <robertpang@google.com> Signed-off-by: Coly Li <colyli@kernel.org> Link: https://lore.kernel.org/r/20250527051601.74407-3-colyli@kernel.org Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--drivers/md/bcache/btree.c2
1 files changed, 0 insertions, 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