diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2024-09-05 21:48:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-09-10 20:11:40 +0200 |
commit | c3565a35d97102fbea69e324086d5e33ee2ab34e (patch) | |
tree | e977876aede6a1f54b537b3704d4ba4c3f95ca9b /drivers/net/can/dev/dev.c | |
parent | c62362e786f30852a13b005c2c6dafcc1537ba06 (diff) |
PM: hibernate: Remove unused stub for saveable_highmem_page()
When saveable_highmem_page() is unused, it prevents kernel builds
with clang, `make W=1` and CONFIG_WERROR=y:
kernel/power/snapshot.c:1369:21: error: unused function 'saveable_highmem_page' [-Werror,-Wunused-function]
1369 | static inline void *saveable_highmem_page(struct zone *z, unsigned long p)
| ^~~~~~~~~~~~~~~~~~~~~
Fix this by removing unused stub.
See also commit 6863f5643dd7 ("kbuild: allow Clang to find unused static
inline functions for W=1 build").
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240905184848.318978-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/net/can/dev/dev.c')
0 files changed, 0 insertions, 0 deletions