Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Markus Elfring and committed by
Jan Kara
def12ec5 e96e8a1d

+1 -1
+1 -1
fs/isofs/inode.c
··· 1298 1298 unsigned long bufsize = ISOFS_BUFFER_SIZE(inode); 1299 1299 unsigned long block; 1300 1300 int high_sierra = sbi->s_high_sierra; 1301 - struct buffer_head *bh = NULL; 1301 + struct buffer_head *bh; 1302 1302 struct iso_directory_record *de; 1303 1303 struct iso_directory_record *tmpde = NULL; 1304 1304 unsigned int de_len;