Skip to content

Commit 3a890df

Browse files
committed
Remove unneeded null check.
1 parent 4b6777b commit 3a890df

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hdl_dump.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,8 +1129,7 @@ inject(const dict_t *config,
11291129
(void)hio->close(hio), hio = NULL;
11301130
}
11311131

1132-
if (iin != NULL)
1133-
(void)iin->close(iin), iin = NULL;
1132+
(void)iin->close(iin), iin = NULL;
11341133
if (iin_zso != NULL)
11351134
(void)iin_zso->close(iin_zso), iin_zso = NULL;
11361135
}

0 commit comments

Comments
 (0)