OSDN Git Service

block: remove hd_struct_kill
authorChristoph Hellwig <hch@lst.de>
Tue, 14 Apr 2020 07:28:56 +0000 (09:28 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 20 Apr 2020 17:32:59 +0000 (11:32 -0600)
commit4377b48da6da44360cc76cd3e0562dbb47dd4904
tree6472cda2d9707981de322949cb24e9ee522efce9
parent8da2892e27833c5ee78788a66941e0e96eedad22
block: remove hd_struct_kill

The function has a single caller, so just open code it.

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/blk.h
block/partitions/core.c