aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2024-10-18 13:58:21 +0000
committerWim Van Sebroeck <[email protected]>2024-11-05 09:04:40 +0000
commit90fc2c8e720b149af6b937f702aca273d00c670e (patch)
treed775139303cfd211156dc4e93880999dce729dff /net/unix/unix_bpf.c
parentwatchdog: da9063: Do not use a global variable (diff)
downloadkernel-90fc2c8e720b149af6b937f702aca273d00c670e.tar.gz
kernel-90fc2c8e720b149af6b937f702aca273d00c670e.zip
watchdog: da9063: Remove __maybe_unused notations
Use the DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros to handle the .suspend/.resume callbacks. These macros allow the suspend and resume functions to be automatically dropped by the compiler when CONFIG_SUSPEND is disabled, without having to use __maybe_unused notation. Signed-off-by: Fabio Estevam <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions