Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d78cb368 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by Rafael J. Wysocki
Browse files

PM / hibernate: Remove unused function



Remove the function get_safe_write_buffer() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ec6f34e5
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2310,8 +2310,6 @@ static inline void free_highmem_data(void)
		free_image_page(buffer, PG_UNSAFE_CLEAR);
}
#else
static inline int get_safe_write_buffer(void) { return 0; }

static unsigned int
count_highmem_image_pages(struct memory_bitmap *bm) { return 0; }