cifs: remove redundant assignment to the variable match
authorColin Ian King <colin.i.king@gmail.com>
Thu, 5 Jan 2023 13:41:11 +0000 (13:41 +0000)
committerSteve French <stfrench@microsoft.com>
Tue, 10 Jan 2023 21:31:08 +0000 (15:31 -0600)
commit2f57e4464cddfceda850ae4224779d11b6eb171f
tree00589b4bdee7bfa17a56a7995466819e77d2d187
parentba5d4c1596cada37793d405dd18d695cd3508902
cifs: remove redundant assignment to the variable match

The variable match is being assigned a value that is never read, it
is being re-assigned a new value later on. The assignment is redundant
and can be removed.

Cleans up clang scan-build warning:
fs/cifs/dfs_cache.c:1302:2: warning: Value stored to 'match' is never read

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/dfs_cache.c