On Tue, Dec 17, 2019 at 10:46:49PM +0800, Yunfeng Ye wrote: > Warning is found when compile with "-Wunused-but-set-variable": > > fs/ext4/namei.c: In function ‘ext4_add_entry’: > fs/ext4/namei.c:2167:23: warning: variable ‘sbi’ set but not used > [-Wunused-but-set-variable] > struct ext4_sb_info *sbi; > ^~~ > Fix this by moving the variable @sbi under CONFIG_UNICODE. > > Signed-off-by: Yunfeng Ye <yeyunfeng@xxxxxxxxxx> > Reviewed-by: Ritesh Harjani <riteshh@xxxxxxxxxxxxx> Thanks, applied. - Ted