提交 581b7e9f 编写于 作者: J Justin P. Mattock 提交者: Jan Kara

udf: super.c Fix warning: variable 'sbi' set but not used

This fixes this warning when building the kernel:
  CC      fs/udf/super.o
fs/udf/super.c: In function 'udf_load_sequence':
fs/udf/super.c:1582:22: warning: variable 'sbi' set but not used
Please have a look, when you have time and let me know.
Signed-off-by: NJustin P. Mattock <justinmattock@gmail.com>
Signed-off-by: NJan Kara <jack@suse.cz>
上级 de67445f
...@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, ...@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
{ {
struct anchorVolDescPtr *anchor; struct anchorVolDescPtr *anchor;
long main_s, main_e, reserve_s, reserve_e; long main_s, main_e, reserve_s, reserve_e;
struct udf_sb_info *sbi;
sbi = UDF_SB(sb);
anchor = (struct anchorVolDescPtr *)bh->b_data; anchor = (struct anchorVolDescPtr *)bh->b_data;
/* Locate the main sequence */ /* Locate the main sequence */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册