summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-01-20 15:08:57 +0300
committerSteve French <stfrench@microsoft.com>2023-02-20 20:48:47 +0300
commitd4fba63fe1f78dba749cf7aa04c1dff4b8666eb1 (patch)
tree243279645b0c5ccd640f9dbe5fd30ad803d44c04 /tools/perf/scripts/python
parent05844bd661d9fd478df1175b6639bf2d9398becb (diff)
downloadlinux-d4fba63fe1f78dba749cf7aa04c1dff4b8666eb1.tar.xz
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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: David Howells <dhowells@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions