summaryrefslogtreecommitdiff
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2025-10-27 08:05:55 +0100
committerCarlos Maiolino <cem@kernel.org>2025-11-12 11:09:25 +0100
commitbc2dd9f2ba004cb4cce671dbe62f5193f58e4abc (patch)
tree573dcede05b2f426f865a3a50116c88fbf959f8e /scripts/clang-tools/gen_compile_commands.py
parentef1e275638fe6f6d54c18a770c138e4d5972b280 (diff)
xfs: remove l_iclog_heads
l_iclog_heads is only used in one place and can be trivially derived from l_iclog_hsize by a single shift operation. Remove it, and switch the initialization of l_iclog_hsize to use struct_size so that it is directly derived from the on-disk format definition. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions