projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc83b0c
)
fs/ntfs3: Remove unnecessary 'NULL' values from pointers
author
Li kunyu
<kunyu@nfschina.com>
Mon, 4 Jul 2022 10:31:13 +0000
(18:31 +0800)
committer
Konstantin Komarov
<almaz.alexandrovich@paragon-software.com>
Wed, 6 Jul 2022 15:49:56 +0000
(18:49 +0300)
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>
fs/ntfs3/index.c
patch
|
blob
|
history
diff --git
a/fs/ntfs3/index.c
b/fs/ntfs3/index.c
index 84ccc1409874742587f42ba13f81a801b3ba3246..ba2a07dfeaf520351968dc1d7c629c84c8a4834b 100644
(file)
--- a/
fs/ntfs3/index.c
+++ b/
fs/ntfs3/index.c
@@
-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;