summaryrefslogtreecommitdiffstats
path: root/fs/isofs
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-08-19 08:13:46 +0200
committerJan Kara <jack@suse.cz>2017-08-23 18:54:03 +0200
commitdef12ec59dd74f5b6ff013b874b1e558b1c22f50 (patch)
tree8b82b01a2a54701b2d9cc730977ed990bb23a599 /fs/isofs
parentisofs: Adjust four checks for null pointers (diff)
downloadlinux-def12ec59dd74f5b6ff013b874b1e558b1c22f50.tar.xz
linux-def12ec59dd74f5b6ff013b874b1e558b1c22f50.zip
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>
Diffstat (limited to 'fs/isofs')
-rw-r--r--fs/isofs/inode.c2
1 files changed, 1 insertions, 1 deletions
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;