]> git.ipfire.org Git - thirdparty/linux.git/commit
hfi1: get rid of redundant debugfs_file_{get,put}()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 21:15:08 +0000 (22:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2025 11:30:28 +0000 (13:30 +0200)
commit2b4b80cfcf25e613148a2cd6b273b200b0064b40
tree8b4ae6a51a73120cbddcc368e48f692cb96ac820
parent327a206c0e1484b960e7804954d568bf80bad93c
hfi1: get rid of redundant debugfs_file_{get,put}()

All files in question are created via debugfs_create_file(), so
exclusion with removals is provided by debugfs wrappers; as the matter
of fact, hfi1-private wrappers had been redundant at least since 2017...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/r/20250702211508.GB3406663@ZenIV
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/hw/hfi1/debugfs.c
drivers/infiniband/hw/hfi1/debugfs.h
drivers/infiniband/hw/hfi1/fault.c