aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorNuno Sa <[email protected]>2024-08-09 11:17:08 +0200
committerJonathan Cameron <[email protected]>2024-08-10 11:39:57 +0100
commit7d6c97ba52087b9e3251eae273af12c7193d1609 (patch)
treeb8bf10a4af4ffd8fb4fa8a10a0fb4590fcac40a1 /lib/test_fortify/write_overflow-strncpy-src.c
parent7f5d956d3f955688aefddc51fb342f7bdd0d2cef (diff)
iio: imu: adis16400: drop ifdef around CONFIG_DEBUG_FS
Use IS_ENABLED(CONFIG_DEBUG_FS) to return in case debugfs is not present. Since this is known at compile time, it allows the compiler to drop any unused code. Therefore no need to wrap the code with #ifdef. While at it make adis16400_debugfs_init() void as the return code is ignored. Signed-off-by: Nuno Sa <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions