]> git.baikalelectronics.ru Git - kernel.git/commit
mm/swap_slots.c: delete meaningless forward declarations
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 29 Jun 2021 02:37:06 +0000 (19:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Jun 2021 17:53:49 +0000 (10:53 -0700)
commit77825ad3989155e7ca4a39352a1fd54ca2700f3d
tree784847b7a56cdd7d370fc262f3682c8e398394c5
parentfe230063c4785b94150127a819c6a065b7878cdc
mm/swap_slots.c: delete meaningless forward declarations

deactivate_swap_slots_cache() and reactivate_swap_slots_cache() are only
called below their implementations.  So these forward declarations are
meaningless and should be removed.

Link: https://lkml.kernel.org/r/20210520134022.1370406-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/swap_slots.c