isofs: Delete an unnecessary variable initialisation in isofs_read_inode()
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 19 Aug 2017 06:13:46 +0000 (08:13 +0200)
committerJan Kara <jack@suse.cz>
Wed, 23 Aug 2017 16:54:03 +0000 (18:54 +0200)
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>
fs/isofs/inode.c

index db43f52f2268e451f7cc04edeec88e77ea762ebd..f1ed935322db7103783f7ccb0806ebe3d4441c13 100644 (file)
@@ -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;