Skip to content

Commit

Permalink
fs/ntfs3: Remove unnecessary 'NULL' values from pointers
Browse files Browse the repository at this point in the history
There is no need to initialize with NULL as it'll be rewritten later.

Signed-off-by: Li kunyu <kunyu@nfschina.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
  • Loading branch information
Li kunyu authored and Konstantin Komarov committed Jul 6, 2022
1 parent cc83b0c commit 604a9d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/ntfs3/index.c
Original file line number Diff line number Diff line change
Expand Up @@ -1678,8 +1678,8 @@ indx_insert_into_buffer(struct ntfs_index *indx, struct ntfs_inode *ni,
{
int err;
const struct NTFS_DE *sp;
struct NTFS_DE *e, *de_t, *up_e = NULL;
struct indx_node *n2 = NULL;
struct NTFS_DE *e, *de_t, *up_e;
struct indx_node *n2;
struct indx_node *n1 = fnd->nodes[level];
struct INDEX_HDR *hdr1 = &n1->index->ihdr;
struct INDEX_HDR *hdr2;
Expand Down

0 comments on commit 604a9d2

Please sign in to comment.