From: Christoph Hellwig <hch@lst.de>
Date: Tue, 24 Mar 2020 08:25:24 +0100
Subject: [PATCH] block: remove block/partitions/sgi.h
References: bsc#1175995,jsc#SLE-15608
Git-commit: 95f77ef35a990e2947cee100f72c0e3ddd1ccd75
Patch-mainline: v5.7-rc1
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>
Signed-off-by: Hannes Reinecke <hare@suse.de>
---
block/partitions/sgi.c | 3 ++-
block/partitions/sgi.h | 8 --------
2 files changed, 2 insertions(+), 9 deletions(-)
delete mode 100644 block/partitions/sgi.h
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
-
--
2.16.4