udf: super.c Fix warning: variable 'sbi' set but not used
authorJustin P. Mattock <justinmattock@gmail.com>
Thu, 8 Jul 2010 04:42:13 +0000 (21:42 -0700)
committerJan Kara <jack@suse.cz>
Mon, 2 Aug 2010 12:57:40 +0000 (14:57 +0200)
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>
fs/udf/super.c

index 612d1e2..12bb651 100644 (file)
@@ -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 */