From: Simon Glass <simon.glass@canonical.com> This function is already declared in fs/ext4l/xattr.h, so remove the duplicate from ext4_uboot.h. This reduces ext4_uboot.h from 455 to 445 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 | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 6b943934069..240d3bf2fb2 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -117,17 +117,6 @@ #include <linux/quotaops.h> #include <linux/random.h> -/* Forward declarations for xattr functions */ -struct super_block; -struct buffer_head; -struct qstr; - -#ifdef CONFIG_EXT4_XATTR -int __ext4_xattr_set_credits(struct super_block *sb, struct inode *inode, - struct buffer_head *block_bh, size_t value_len, - bool is_create); -#endif - #include <linux/rcupdate.h> #include <linux/slab.h> -- 2.43.0