frontswap: remove frontswap_shrink
authorChristoph Hellwig <hch@lst.de>
Thu, 30 Dec 2021 09:29:50 +0000 (20:29 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 18 Jan 2022 01:50:18 +0000 (12:50 +1100)
commitee6dd2e6f0595e9056b0ea458e806d5fa51286eb
tree810b7dd8ee59f031d5bcab5a6beffc1cb9ba8701
parentb9745f5cc8d59bec480035747528a51438f28a3f
frontswap: remove frontswap_shrink

frontswap_shrink is never called, so remove it.

Link: https://lkml.kernel.org/r/20211224062246.1258487-5-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Cc: Dan Streetman <ddstreet@ieee.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Hugh Dickins <hughd@google.com>
Cc: Konrad Rzeszutek Wilk <Konrad.wilk@oracle.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Seth Jennings <sjenning@redhat.com>
Cc: Vitaly Wool <vitaly.wool@konsulko.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Documentation/vm/frontswap.rst
include/linux/frontswap.h
mm/frontswap.c