]> www.infradead.org Git - users/jedix/linux-maple.git/commit
relay: remove unused relay_late_setup_files
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 18 Apr 2025 23:49:32 +0000 (00:49 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 May 2025 00:54:09 +0000 (17:54 -0700)
commit2a1c6158131f05c228001e1f73304535bc205444
treef26537e3ce3a8c63e8f8c40edfe62edf96dc1bcb
parentba8182d44b4e557e2dc34e51a88105ce5b083372
relay: remove unused relay_late_setup_files

The last use of relay_late_setup_files() was removed in 2018 by commit
2b47733045aa ("drm/i915/guc: Merge log relay file and channel creation")

Remove it and the helper it used.

relay_late_setup_files() was used for eventually registering 'buffer only'
channels.  With it gone, delete the docs that explain how to do that.
Which suggests it should be possible to lose the 'has_base_filename'
flags.

(Are there any other uses??)

Link: https://lkml.kernel.org/r/20250418234932.490863-1-linux@treblig.org
Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Andriy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/filesystems/relay.rst
include/linux/relay.h
kernel/relay.c