summaryrefslogtreecommitdiffstats
path: root/block/partitions
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-24 08:25:23 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-24 07:57:08 -0600
commit3466f63a7cfe55217534e71af866037be2e1909e (patch)
treed1a4cdcf1940a0d651351c477b5b941735d3ec7b /block/partitions
parentf6d17358dc7eb2259115c0017a1ff9958a59eb2b (diff)
downloadlinux-3466f63a7cfe55217534e71af866037be2e1909e.tar.gz
linux-3466f63a7cfe55217534e71af866037be2e1909e.tar.bz2
linux-3466f63a7cfe55217534e71af866037be2e1909e.zip
block: remove block/partitions/osf.h
Just move the single define to block/partitions/osf.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions')
-rw-r--r--block/partitions/osf.c2
-rw-r--r--block/partitions/osf.h7
2 files changed, 1 insertions, 8 deletions
diff --git a/block/partitions/osf.c b/block/partitions/osf.c
index 4b873973d6c0..84560d0765ed 100644
--- a/block/partitions/osf.c
+++ b/block/partitions/osf.c
@@ -9,9 +9,9 @@
*/
#include "check.h"
-#include "osf.h"
#define MAX_OSF_PARTITIONS 18
+#define DISKLABELMAGIC (0x82564557UL)
int osf_partition(struct parsed_partitions *state)
{
diff --git a/block/partitions/osf.h b/block/partitions/osf.h
deleted file mode 100644
index 80a58c382b3f..000000000000
--- a/block/partitions/osf.h
+++ /dev/null
@@ -1,7 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * fs/partitions/osf.h
- */
-
-#define DISKLABELMAGIC (0x82564557UL)
-