Skip to content

Commit b819fd9

Browse files
committed
highmem: Remove unused functions
Nothing uses totalhigh_pages_dec() and totalhigh_pages_set(). Signed-off-by: Thomas Gleixner <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Andrew Morton <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 16675dd commit b819fd9

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

include/linux/highmem.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -104,21 +104,11 @@ static inline void totalhigh_pages_inc(void)
104104
atomic_long_inc(&_totalhigh_pages);
105105
}
106106

107-
static inline void totalhigh_pages_dec(void)
108-
{
109-
atomic_long_dec(&_totalhigh_pages);
110-
}
111-
112107
static inline void totalhigh_pages_add(long count)
113108
{
114109
atomic_long_add(count, &_totalhigh_pages);
115110
}
116111

117-
static inline void totalhigh_pages_set(long val)
118-
{
119-
atomic_long_set(&_totalhigh_pages, val);
120-
}
121-
122112
void kmap_flush_unused(void);
123113

124114
struct page *kmap_to_page(void *addr);

0 commit comments

Comments
 (0)