From: Markus Elfring Date: Sat, 19 Aug 2017 06:13:46 +0000 (+0200) Subject: isofs: Delete an unnecessary variable initialisation in isofs_read_inode() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=def12ec59dd74f5b6ff013b874b1e558b1c22f50;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Jan Kara --- diff --git a/fs/isofs/inode.c b/fs/isofs/inode.c index db43f52f2268..f1ed935322db 100644 --- a/fs/isofs/inode.c +++ b/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 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;