[Concept,20/33] ext4l: Remove duplicate ext4_update_overhead() declaration

Message ID 20260121220857.2137568-21-sjg@u-boot.org
State New
Headers
Series Reorganise ext4l compatibility stubs |

Commit Message

Simon Glass Jan. 21, 2026, 10:08 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

This function is already declared in ext4.h, so remove the duplicate
from ext4_uboot.h.

This reduces ext4_uboot.h from 465 to 458 lines.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 fs/ext4l/ext4_uboot.h | 7 -------
 1 file changed, 7 deletions(-)
  

Patch

diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h
index 9229fc7ffc3..7b883f9a7ff 100644
--- a/fs/ext4l/ext4_uboot.h
+++ b/fs/ext4l/ext4_uboot.h
@@ -444,13 +444,6 @@  struct disk_partition *ext4l_get_partition(void);
 #define PAGE_MASK	(~(PAGE_SIZE - 1))
 #endif
 
-/*
- * Stubs for resize.c
- */
-
-/* ext4_update_overhead - declaration for stub.c */
-int ext4_update_overhead(struct super_block *sb, bool force);
-
 /*
  * Stubs for fsmap.c
  */