summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-03-24 08:25:24 +0100
committerJens Axboe <axboe@kernel.dk>2020-03-24 07:57:08 -0600
commit95f77ef35a990e2947cee100f72c0e3ddd1ccd75 (patch)
treef61234ad55c24b95299cc79bdde7259f9e9de9c1 /block
parent3466f63a7cfe55217534e71af866037be2e1909e (diff)
downloadlinux-riscv-95f77ef35a990e2947cee100f72c0e3ddd1ccd75.tar.gz
linux-riscv-95f77ef35a990e2947cee100f72c0e3ddd1ccd75.tar.bz2
linux-riscv-95f77ef35a990e2947cee100f72c0e3ddd1ccd75.zip
block: remove block/partitions/sgi.h
Just move the single define to block/partitions/sgi.c. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block')
-rw-r--r--block/partitions/sgi.c3
-rw-r--r--block/partitions/sgi.h8
2 files changed, 2 insertions, 9 deletions
diff --git a/block/partitions/sgi.c b/block/partitions/sgi.c
index d7b421c6e530..927cf501603e 100644
--- a/block/partitions/sgi.c
+++ b/block/partitions/sgi.c
@@ -6,7 +6,8 @@
*/
#include "check.h"
-#include "sgi.h"
+
+#define SGI_LABEL_MAGIC 0x0be5a941
struct sgi_disklabel {
__be32 magic_mushroom; /* Big fat spliff... */
diff --git a/block/partitions/sgi.h b/block/partitions/sgi.h
deleted file mode 100644
index 372cdad19fea..000000000000
--- a/block/partitions/sgi.h
+++ /dev/null
@@ -1,8 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-/*
- * fs/partitions/sgi.h
- */
-
-
-#define SGI_LABEL_MAGIC 0x0be5a941
-