Browse Source

isofs: Delete an unnecessary variable initialisation in isofs_read_inode()

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 <elfring@users.sourceforge.net>
Signed-off-by: Jan Kara <jack@suse.cz>
Markus Elfring 8 years ago
parent
commit
def12ec59d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/isofs/inode.c

+ 1 - 1
fs/isofs/inode.c

@@ -1298,7 +1298,7 @@ static int isofs_read_inode(struct inode *inode, int relocated)
 	unsigned long bufsize = ISOFS_BUFFER_SIZE(inode);
 	unsigned long bufsize = ISOFS_BUFFER_SIZE(inode);
 	unsigned long block;
 	unsigned long block;
 	int high_sierra = sbi->s_high_sierra;
 	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 *de;
 	struct iso_directory_record *tmpde = NULL;
 	struct iso_directory_record *tmpde = NULL;
 	unsigned int de_len;
 	unsigned int de_len;