aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2022-02-14 19:28:47 +0000
committerSteven Rostedt (Google) <[email protected]>2022-02-25 17:07:01 +0000
commitab2f993c01f261aa3eeb8842842ff38bff7806b6 (patch)
tree82bd673279bd83f50d65d04a796f3d893ede20c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parenttracing: Ensure trace buffer is at least 4096 bytes large (diff)
downloadkernel-ab2f993c01f261aa3eeb8842842ff38bff7806b6.tar.gz
kernel-ab2f993c01f261aa3eeb8842842ff38bff7806b6.zip
ftrace: Remove unused ftrace_startup_enable() stub
When building with clang + CONFIG_DYNAMIC_FTRACE=n + W=1, there is a warning: kernel/trace/ftrace.c:7194:20: error: unused function 'ftrace_startup_enable' [-Werror,-Wunused-function] static inline void ftrace_startup_enable(int command) { } ^ 1 error generated. Clang warns on instances of static inline functions in .c files with W=1 after commit 6863f5643dd7 ("kbuild: allow Clang to find unused static inline functions for W=1 build"). The ftrace_startup_enable() stub has been unused since commit e1effa0144a1 ("ftrace: Annotate the ops operation on update"), where its use outside of the CONFIG_DYNAMIC_TRACE section was replaced by ftrace_startup_all(). Remove it to resolve the warning. Link: https://lkml.kernel.org/r/[email protected] Reported-by: kernel test robot <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions