diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-11-03 10:27:14 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-11-06 23:14:53 +0100 |
commit | b819fd9da38508e0504624b87d9983fcc4237f3c (patch) | |
tree | 55665716aad33399ba98f40a537df160eb18d14a /include/linux/highmem.h | |
parent | 16675dda9355505245b89dd50723a2754819594b (diff) | |
download | lwn-b819fd9da38508e0504624b87d9983fcc4237f3c.tar.gz lwn-b819fd9da38508e0504624b87d9983fcc4237f3c.zip |
highmem: Remove unused functions
Nothing uses totalhigh_pages_dec() and totalhigh_pages_set().
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: https://lore.kernel.org/r/20201103095856.732891880@linutronix.de
Diffstat (limited to 'include/linux/highmem.h')
-rw-r--r-- | include/linux/highmem.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/highmem.h b/include/linux/highmem.h index 14e6202ce47f..f5c31338f0a3 100644 --- a/include/linux/highmem.h +++ b/include/linux/highmem.h @@ -104,21 +104,11 @@ static inline void totalhigh_pages_inc(void) atomic_long_inc(&_totalhigh_pages); } -static inline void totalhigh_pages_dec(void) -{ - atomic_long_dec(&_totalhigh_pages); -} - static inline void totalhigh_pages_add(long count) { atomic_long_add(count, &_totalhigh_pages); } -static inline void totalhigh_pages_set(long val) -{ - atomic_long_set(&_totalhigh_pages, val); -} - void kmap_flush_unused(void); struct page *kmap_to_page(void *addr); |