smb: delete an unnecessary statement
authorSteve French <stfrench@microsoft.com>
Thu, 1 Jun 2023 04:56:21 +0000 (23:56 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 1 Jun 2023 04:56:21 +0000 (23:56 -0500)
commitdda69fa02da6783929b7a165235ef9cab6ae1397
tree4e149200980025003e776d7dacf50fe152375f7f
parent520506d3ba0425525877a5fb1e971f97ec35ea5c
smb: delete an unnecessary statement

We don't need to set the list iterators to NULL before a
list_for_each_entry() loop because they are assigned inside the
macro.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/smb2ops.c