aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2023-01-20 14:08:57 +0200
committerSteve French <[email protected]>2023-02-20 11:48:47 -0600
commitd4fba63fe1f78dba749cf7aa04c1dff4b8666eb1 (patch)
tree243279645b0c5ccd640f9dbe5fd30ad803d44c04 /include/linux
parent05844bd661d9fd478df1175b6639bf2d9398becb (diff)
cifs: Get rid of unneeded conditional in the smb2_get_aead_req()
In the smb2_get_aead_req() the skip variable is used only for the very first iteration of the two nested loops, which means it's basically in invariant to those loops. Hence, instead of using conditional on each iteration, unconditionally assign the 'skip' variable before the loops and at the end of the inner loop. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> Reviewed-by: David Howells <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions