block: mark invalidate_partition static
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2020 07:29:01 +0000 (09:29 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2020 17:32:59 +0000 (11:32 -0600)
commit02d33b6771fcc63c98cb48cad0cd8b8fb033837a
treed62f65fb13361e75e3babadaa8c5a5da916fd765
parentd5f3178ec9ab8a3a71763310d260e1d2a047baf1
block: mark invalidate_partition static

invalidate_partition is only used in genhd.c, so mark it static.  Also
drop the return value given that is is always ignored.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/genhd.c
include/linux/fs.h