summaryrefslogtreecommitdiffstats
path: root/block/partitions/check.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-24 08:25:20 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-24 07:57:08 -0600
commitffa9ed647aa4cda79fa8cb9583a566e9d777dd4c (patch)
tree217352f1f75e3511ecb2f7906c1acd02c03f2aed /block/partitions/check.h
parent74cc979c3c7f8328b24651daf15280f07533e735 (diff)
downloadlinux-ffa9ed647aa4cda79fa8cb9583a566e9d777dd4c.tar.bz2
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 'block/partitions/check.h')
-rw-r--r--block/partitions/check.h3
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;
-