Skip to content

Commit

Permalink
udf: use bool for done
Browse files Browse the repository at this point in the history
variable 'done' is only used for true/false in loop.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Fabian Frederick authored and Jan Kara committed Feb 5, 2015
1 parent b10a081 commit 2b8f942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/udf/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -1599,7 +1599,7 @@ static noinline int udf_process_sequence(
struct udf_vds_record *curr;
struct generic_desc *gd;
struct volDescPtr *vdp;
int done = 0;
bool done = false;
uint32_t vdsn;
uint16_t ident;
long next_s = 0, next_e = 0;
Expand Down Expand Up @@ -1680,7 +1680,7 @@ static noinline int udf_process_sequence(
lastblock = next_e;
next_s = next_e = 0;
} else
done = 1;
done = true;
break;
}
brelse(bh);
Expand Down

0 comments on commit 2b8f942

Please sign in to comment.