diff options
author | Christoph Hellwig <hch@lst.de> | 2020-03-24 08:25:20 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-03-24 14:57:08 +0100 |
commit | ffa9ed647aa4cda79fa8cb9583a566e9d777dd4c (patch) | |
tree | 217352f1f75e3511ecb2f7906c1acd02c03f2aed /block/partitions/check.h | |
parent | block: cleanup how md_autodetect_dev is called (diff) | |
download | linux-ffa9ed647aa4cda79fa8cb9583a566e9d777dd4c.tar.xz linux-ffa9ed647aa4cda79fa8cb9583a566e9d777dd4c.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | block/partitions/check.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/block/partitions/check.h b/block/partitions/check.h index 0fcf80117887..19852b494e93 100644 --- a/block/partitions/check.h +++ b/block/partitions/check.h @@ -50,6 +50,3 @@ put_partition(struct parsed_partitions *p, int n, sector_t from, sector_t size) strlcat(p->pp_buf, tmp, PAGE_SIZE); } } - -extern int warn_no_part; - |