diff options
author | Lukas Wunner <lukas@wunner.de> | 2025-04-14 16:25:21 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-04-17 14:36:29 -0500 |
commit | d46b3918fac499f60b7df1cb1437af7344480576 (patch) | |
tree | 9fa5b96a301bff385d7c6891c22e943b99e12ead /tools/perf/scripts/python/gecko.py | |
parent | 2af781a9edc4ef5f6684c0710cc3542d9be48b31 (diff) |
PCI: hotplug: Drop superfluous #include directives
In February 2003, historic commit
https://git.kernel.org/tglx/history/c/280c1c9a0ea4
("[PATCH] PCI Hotplug: Replace pcihpfs with sysfs.")
removed all invocations of __get_free_page() and free_page() from the PCI
hotplug core without also removing the #include <linux/pagemap.h>
directive.
It removed all invocations of kern_mount(), mntget() and mntput()
without also removing the #include <linux/mount.h> directive.
It removed all invocations of lookup_hash()
without also removing the #include <linux/namei.h> directive.
It removed all invocations of copy_to_user() and copy_from_user()
without also removing the #include <linux/uaccess.h> directive.
These #include directives are still unnecessary today, so drop them.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/c19e25bf2cefecc14e0822c6a9bb3a7f546258bc.1744640331.git.lukas@wunner.de
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions