summaryrefslogtreecommitdiff
path: root/tools/perf/util/bpf_counter.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-02-16 18:08:28 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-10 11:21:02 +0300
commitbc6350167ef4e003e463c25417b48a446e48001d (patch)
treeb1b5515e9e301f66e98aa00c4abe42d037caf8cb /tools/perf/util/bpf_counter.c
parent37b85bd5f20cbe28140d370a840738b6f2e85cbf (diff)
downloadlinux-bc6350167ef4e003e463c25417b48a446e48001d.tar.xz
drivers: habanalabs: remove unused dentry pointer for debugfs files
The dentry for the created debugfs file was being saved, but never used anywhere. As the pointer isn't needed for anything, and the debugfs files are being properly removed by removing the parent directory, remove the saved pointer as well, saving a tiny bit of memory and logic. Cc: Oded Gabbay <ogabbay@kernel.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Tomer Tayar <ttayar@habana.ai> Cc: Moti Haimovski <mhaimovski@habana.ai> Cc: Omer Shpigelman <oshpigelman@habana.ai> Cc: Ofir Bitton <obitton@habana.ai> Cc: linux-kernel@vger.kernel.org Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/20210216150828.3855810-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/bpf_counter.c')
0 files changed, 0 insertions, 0 deletions