提交 def12ec5 编写于 作者: M Markus Elfring 提交者: Jan Kara

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: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NJan Kara <jack@suse.cz>
上级 e96e8a1d
...@@ -1298,7 +1298,7 @@ static int isofs_read_inode(struct inode *inode, int relocated) ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册