udf:super.c Fix warning: variable 'sbi' set but not used
PATCH 1/1 udf:super.c Fix warning: variable 'sbi' set but not used
This fixes this warning when building the kernel:
CC fs/udf/super.ofs/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.
--- fs/udf/super.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/udf/super.c +0 -2
@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, {struct anchorVolDescPtr *anchor;long main_s, main_e, reserve_s, reserve_e; -struct udf_sb_info *sbi; - sbi =UDF_SB (sb); anchor = (struct anchorVolDescPtr *)bh->b_data;/* Locate the main sequence */
Signature · 1 line
1.7.1.rc1.21.gf3bd6
any ideas on the status of this?
Quoted 26 lines
This fixes this warning when building the kernel:
CCfs/udf/super.ofs/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 Justin P. Mattock<[email protected]>--- fs/udf/super.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)fs/udf/super.c +0
-2@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, {struct anchorVolDescPtr *anchor;long main_s, main_e, reserve_s, reserve_e; -struct udf_sb_info *sbi; - sbi =UDF_SB (sb); anchor = (struct anchorVolDescPtr *)bh->b_data;/* Locate the main sequence */
Quoted 1 line · Justin P. Mattock
any ideas on the status of this?
I have it in my tree and will push it to Linus in this merge window.
Honza
Quoted 28 lines
Quoted 27 lines
This fixes this warning when building the kernel:
CCfs/udf/super.ofs/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 Justin P. Mattock<[email protected]>--- fs/udf/super.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)fs/udf/super.c +0
-2@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, {struct anchorVolDescPtr *anchor;long main_s, main_e, reserve_s, reserve_e; -struct udf_sb_info *sbi; - sbi =UDF_SB (sb); anchor = (struct anchorVolDescPtr *)bh->b_data;/* Locate the main sequence */
Signature · 2 lines
Jan Kara <[email protected]> SUSE Labs, CR
Quoted 5 lines · Jan Kara
Quoted 1 line · Justin P. Mattock
any ideas on the status of this?
I have it in my tree and will push it to Linus in this merge window.
Honza
o.k. cool..
Quoted 23 lines
Quoted 23 lines
Quoted 23 lines
This fixes this warning when building the kernel:
CCfs/udf/super.ofs/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 Justin P. Mattock<[email protected]>--- fs/udf/super.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)fs/udf/super.c +0
-1@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, {struct anchorVolDescPtr *anchor;long main_s, main_e, reserve_s, reserve_e; -struct udf_sb_info *sbi;
Quoted 5 lines
Quoted 5 lines
fs/udf/super.c static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh, · line 1585
Quoted 4 lines
fs/udf/super.c +0
-1- sbi =UDF_SB (sb); anchor = (struct anchorVolDescPtr *)bh->b_data;/* Locate the main sequence */
Justin P. Mattock