]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove warn_no_part
authorChristoph Hellwig <hch@lst.de>
Tue, 24 Mar 2020 07:25:20 +0000 (08:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 24 Mar 2020 13:57:08 +0000 (07:57 -0600)
commiteae0884e8597402c99a42fc2584d139a09a552c6
tree217352f1f75e3511ecb2f7906c1acd02c03f2aed
parentc99677e8092369a9e88c6d7b20a7e420b592fd56
block: remove warn_no_part

The warn_no_part is initialized to 1 and never changed.  Remove
it and execute the code keyed off from it unconditionally.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/amiga.c
block/partitions/check.c
block/partitions/check.h