]> Gentwo Git Trees - linux/.git/commit
smb/client: Fix logically dead code
authorAdvait Dhamorikar <advaitdhamorikar@gmail.com>
Mon, 7 Oct 2024 15:23:34 +0000 (20:53 +0530)
committerSteve French <stfrench@microsoft.com>
Wed, 16 Oct 2024 05:30:52 +0000 (00:30 -0500)
commit3dfea293f4279b3021cb0ecf3807e763bddb63b9
treecab6c58edb3982a480c59b286e088c415d776d0d
parent1ab60323c5201bef25f2a3dc0ccc404d9aca77f1
smb/client: Fix logically dead code

The if condition in collect_sample: can never be satisfied
because of a logical contradiction. The indicated dead code
may have performed some action; that action will never occur.

Fixes: 94ae8c3fee94 ("smb: client: compress: LZ77 code improvements cleanup")
Signed-off-by: Advait Dhamorikar <advaitdhamorikar@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/compress.c