summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorZhang Qiang <qiang.zhang@windriver.com>2020-05-27 10:57:15 +0300
committerTejun Heo <tj@kernel.org>2020-05-27 16:52:41 +0300
commit342ed2400b78072cc01c0130ce41240dec60d56d (patch)
tree95d74a595229824b4fd8231ca8d81e147d817a8d /tools/perf/scripts/python/export-to-postgresql.py
parentb92b36eadf4d7fa4a34f048c2a3bb61a735a885e (diff)
downloadlinux-342ed2400b78072cc01c0130ce41240dec60d56d.tar.xz
workqueue: Remove unnecessary kfree() call in rcu_free_wq()
The data structure member "wq->rescuer" was reset to a null pointer in one if branch. It was passed to a call of the function "kfree" in the callback function "rcu_free_wq" (which was eventually executed). The function "kfree" does not perform more meaningful data processing for a passed null pointer (besides immediately returning from such a call). Thus delete this function call which became unnecessary with the referenced software update. Fixes: def98c84b6cd ("workqueue: Fix spurious sanity check failures in destroy_workqueue()") Suggested-by: Markus Elfring <Markus.Elfring@web.de> Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions