Commit 4665a0d
fs/ntfs3: Drop redundant NULL check
Static analysis shows that pointer "mi" cannot be NULL, since it is
pre-initialized above. A potential failure when mi equals NULL is
processed.
Remove the extra NULL check. It is meaningless and harms the readability
of the code, since before that the pointer is unconditionally
dereferenced.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Signed-off-by: Andrey Vatoropin <[email protected]>
Signed-off-by: Konstantin Komarov <[email protected]>1 parent 0af2f6b commit 4665a0d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3143 | 3143 | | |
3144 | 3144 | | |
3145 | 3145 | | |
3146 | | - | |
| 3146 | + | |
3147 | 3147 | | |
3148 | 3148 | | |
3149 | 3149 | | |
| |||
0 commit comments