aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf/super.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2010-07-08 00:42:13 -0400
committerJan Kara <jack@suse.cz>2010-08-02 08:57:40 -0400
commit581b7e9fc00789782cb3bdca58db49f6f0f66608 (patch)
tree09760be83f7b3896a161c472083079d0a0964651 /fs/udf/super.c
parentde67445f0e6009fd1e338eda023857b18b16e647 (diff)
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: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/super.c')
-rw-r--r--fs/udf/super.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/udf/super.c b/fs/udf/super.c
index 612d1e2e285a..12bb651e5400 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -1579,9 +1579,7 @@ static int udf_load_sequence(struct super_block *sb, struct buffer_head *bh,
1579{ 1579{
1580 struct anchorVolDescPtr *anchor; 1580 struct anchorVolDescPtr *anchor;
1581 long main_s, main_e, reserve_s, reserve_e; 1581 long main_s, main_e, reserve_s, reserve_e;
1582 struct udf_sb_info *sbi;
1583 1582
1584 sbi = UDF_SB(sb);
1585 anchor = (struct anchorVolDescPtr *)bh->b_data; 1583 anchor = (struct anchorVolDescPtr *)bh->b_data;
1586 1584
1587 /* Locate the main sequence */ 1585 /* Locate the main sequence */