Skip to content

Commit

Permalink
isofs: Delete an unnecessary variable initialisation in isofs_read_in…
Browse files Browse the repository at this point in the history
…ode()

The local variable "bh" will be set to an appropriate pointer a bit later.
Thus omit the explicit initialisation at the beginning.

Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Jan Kara <[email protected]>
  • Loading branch information
elfring authored and jankara committed Aug 23, 2017
1 parent e96e8a1 commit def12ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/isofs/inode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,7 @@ static int isofs_read_inode(struct inode *inode, int relocated)
unsigned long bufsize = ISOFS_BUFFER_SIZE(inode);
unsigned long block;
int high_sierra = sbi->s_high_sierra;
struct buffer_head *bh = NULL;
struct buffer_head *bh;
struct iso_directory_record *de;
struct iso_directory_record *tmpde = NULL;
unsigned int de_len;
Expand Down

0 comments on commit def12ec

Please sign in to comment.