Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ext4: remove unused EXT_STATS macro from ext4_extents.h

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>

authored by

Baolin Liu and committed by
Theodore Ts'o
a073e857 c5da1f66

-7
-7
fs/ext4/ext4_extents.h
··· 31 31 #define CHECK_BINSEARCH__ 32 32 33 33 /* 34 - * If EXT_STATS is defined then stats numbers are collected. 35 - * These number will be displayed at umount time. 36 - */ 37 - #define EXT_STATS_ 38 - 39 - 40 - /* 41 34 * ext4_inode has i_block array (60 bytes total). 42 35 * The first 12 bytes store ext4_extent_header; 43 36 * the remainder stores an array of ext4_extent.