diff options
author | Amit Kucheria <amit.kucheria@linaro.org> | 2019-10-21 15:15:10 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2019-11-07 09:00:26 +0300 |
commit | f96c8e50152814d05a4002b8c03a80366a27afa3 (patch) | |
tree | 27d69b8b80c68214f06a29efe3b9aaca2ad5e793 /include | |
parent | da73f9b898b26fadb278a7538e5a9ceb24ea031f (diff) | |
download | linux-f96c8e50152814d05a4002b8c03a80366a27afa3.tar.xz |
thermal: Remove netlink support
There are no users of netlink messages for thermal inside the kernel.
Remove the code and adjust the documentation.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/8ff02cf62186c7a54fff325fad40a2e9ca3affa6.1571656014.git.amit.kucheria@linaro.org
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/thermal.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h index e45659c75920..d9111aebb97d 100644 --- a/include/linux/thermal.h +++ b/include/linux/thermal.h @@ -544,15 +544,4 @@ static inline void thermal_notify_framework(struct thermal_zone_device *tz, { } #endif /* CONFIG_THERMAL */ -#if defined(CONFIG_NET) && IS_ENABLED(CONFIG_THERMAL) -extern int thermal_generate_netlink_event(struct thermal_zone_device *tz, - enum events event); -#else -static inline int thermal_generate_netlink_event(struct thermal_zone_device *tz, - enum events event) -{ - return 0; -} -#endif - #endif /* __THERMAL_H__ */ |