On Tue, 2025-04-29 at 19:47 +0200, Greg Kroah-Hartman wrote: > No, the other way around, we should be telling people to use > debugfs_remove_recursive() instead please, and getting rid of > debugfs_remove() entirely. Then why was #define debugfs_remove_recursive debugfs_remove added back in 2019, and why was that functionality *added* to debugfs_remove? I recently added a patch to Nouveau that used debugfs_remove() to clean up all debugfs entries specifically because it operates recursively.