lkml.org 
[lkml]   [2010]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH]udf:super.c Fix warning: variable 'sbi' set but not used
any ideas on the status of this?

> 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>
>
> ---
> fs/udf/super.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 612d1e2..12bb651 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,
> {
> 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 */



\
 
 \ /
  Last update: 2010-07-31 21:05    [W:0.137 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site