summaryrefslogtreecommitdiff
path: root/net/core/secure_seq.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-01-29 19:27:33 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2024-02-05 16:28:54 +0300
commita4b64b893428734fc872a162ca7d92aa1ca1c429 (patch)
tree71c95c5c8f17e100f5c2cc7f6ef45eff04a6d8a9 /net/core/secure_seq.c
parentac6f87aaa26fa88680db23051a5d2b13a08d13b8 (diff)
downloadlinux-a4b64b893428734fc872a162ca7d92aa1ca1c429.tar.xz
PM: sleep: Move some assignments from under a lock
The async_error and pm_transition variables are set under dpm_list_mtx in multiple places in the system-wide device PM core code, which is unnecessary and confusing, so rearrange the code so that the variables in question are set before acquiring the lock. While at it, add some empty code lines around locking to improve the consistency of the code. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'net/core/secure_seq.c')
0 files changed, 0 insertions, 0 deletions