Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/debugfs: drop unneeded DEBUG_FS guard

The Makefile enables/disables the file compilation depending on
CONFIG_DEBUG_FS.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231223183301.78332-1-dario.binacchi@amarulasolutions.com

authored by

Dario Binacchi and committed by
Jani Nikula
0c75d521 2fee8403

-4
-4
drivers/gpu/drm/drm_debugfs.c
··· 45 45 #include "drm_crtc_internal.h" 46 46 #include "drm_internal.h" 47 47 48 - #if defined(CONFIG_DEBUG_FS) 49 - 50 48 /*************************************************** 51 49 * Initialization, etc. 52 50 **************************************************/ ··· 645 647 debugfs_remove_recursive(encoder->debugfs_entry); 646 648 encoder->debugfs_entry = NULL; 647 649 } 648 - 649 - #endif /* CONFIG_DEBUG_FS */