]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ext4: remove unused EXT_STATS macro from ext4_extents.h
authorBaolin Liu <liubaolin@kylinos.cn>
Tue, 27 May 2025 05:38:05 +0000 (13:38 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 12 Jul 2025 23:01:38 +0000 (19:01 -0400)
The EXT_STATS macro in fs/ext4/ext4_extents.h has been defined
but never used in the codebase since its introduction. This patch
removes it.

Analysis:
1. No references found in fs/ext4/ or other kernel code.
2. No impact on compilation or functionality.
3. Git history shows it was never utilized.

Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Link: https://patch.msgid.link/20250527053805.1550912-1-liubaolin12138@163.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/ext4_extents.h

index 26435f3a30946d8985eb5b0d74c9a1456795f127..c484125d963fb8a931837e12fa6f643d609a89ea 100644 (file)
  */
 #define CHECK_BINSEARCH__
 
-/*
- * If EXT_STATS is defined then stats numbers are collected.
- * These number will be displayed at umount time.
- */
-#define EXT_STATS_
-
-
 /*
  * ext4_inode has i_block array (60 bytes total).
  * The first 12 bytes store ext4_extent_header;