summaryrefslogtreecommitdiff
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2019-04-04 19:56:14 +0300
committerSong Liu <songliubraving@fb.com>2019-04-11 01:26:09 +0300
commit2b598ee54a1e50323143a613aa29eb40377d8792 (patch)
tree3ada9019468ad404741f38a84f5582d74cde90d4 /drivers/md/md.c
parentae50640bebc48f1fc0092f16ea004c7c4d12c985 (diff)
downloadlinux-2b598ee54a1e50323143a613aa29eb40377d8792.tar.xz
md: mark md_cluster_mod static
Sparse complains that it has no external declaration, and it turns out that it is never even used outside of md.c. So just mark it static and drop the export. Acked-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Song Liu <songliubraving@fb.com>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 4a31380b0eff..541015373f6a 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -88,8 +88,7 @@ static struct kobj_type md_ktype;
struct md_cluster_operations *md_cluster_ops;
EXPORT_SYMBOL(md_cluster_ops);
-struct module *md_cluster_mod;
-EXPORT_SYMBOL(md_cluster_mod);
+static struct module *md_cluster_mod;
static DECLARE_WAIT_QUEUE_HEAD(resync_wait);
static struct workqueue_struct *md_wq;