Skip to content

Commit 604a9d2

Browse files
likunyuraalexandrovich
authored andcommitted
fs/ntfs3: Remove unnecessary 'NULL' values from pointers
There is no need to initialize with NULL as it'll be rewritten later. Signed-off-by: Li kunyu <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
1 parent cc83b0c commit 604a9d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/ntfs3/index.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1678,8 +1678,8 @@ indx_insert_into_buffer(struct ntfs_index *indx, struct ntfs_inode *ni,
16781678
{
16791679
int err;
16801680
const struct NTFS_DE *sp;
1681-
struct NTFS_DE *e, *de_t, *up_e = NULL;
1682-
struct indx_node *n2 = NULL;
1681+
struct NTFS_DE *e, *de_t, *up_e;
1682+
struct indx_node *n2;
16831683
struct indx_node *n1 = fnd->nodes[level];
16841684
struct INDEX_HDR *hdr1 = &n1->index->ihdr;
16851685
struct INDEX_HDR *hdr2;

0 commit comments

Comments
 (0)