Skip to content
Unverified Commit 75b5e472 authored by Nathan Chancellor's avatar Nathan Chancellor Committed by Konstantin Komarov
Browse files

fs/ntfs3: Eliminate unnecessary ternary operator in ntfs_d_compare()



'a == b ? 0 : 1' is logically equivalent to 'a != b'.

Suggested-by: default avatarNick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
Signed-off-by: default avatarKonstantin Komarov <almaz.alexandrovich@paragon-software.com>
parent 019d22eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment