summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-09-17 11:09:43 +0200
committerChristian Brauner <brauner@kernel.org>2026-09-23 09:27:44 +0200
commitcba449b765b39c0f71914bf81c04d96dd457248c (patch)
treec6fdbaf3b568b154c8e708dba7219b93565d9a15 /tools/lib/python
parent30ce4b073efc0ac77fe017b1e7cb49658c62a09d (diff)
downloadlinux-next-cba449b765b39c0f71914bf81c04d96dd457248c.tar.gz
linux-next-cba449b765b39c0f71914bf81c04d96dd457248c.zip
file: declare the FD_PREPARE() variable with __cleanup() directly
The whole CLASS_INIT() detour isn't needed. Use __cleanup() directly and give the destructor a private name. No functional changes. Link: https://patch.msgid.link/20260917-work-file-fd_prepare-v1-2-b87534ca49f3@kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions