s390/iucv: Unexport iucv_root
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 6 May 2024 19:44:54 +0000 (21:44 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 14 May 2024 18:21:04 +0000 (20:21 +0200)
There is no user of iucv_root outside of the core IUCV code left.
Therefore remove the EXPORT_SYMBOL.

Acked-by: Alexandra Winter <wintera@linux.ibm.com>
Link: https://lore.kernel.org/r/20240506194454.1160315-7-hca@linux.ibm.com
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
include/net/iucv/iucv.h
net/iucv/iucv.c

index b3736e66fe1a777b1e28f8362b302f0f632cbb09..4d114e6d6d23dd3aebbccef7686e0cf5edb85894 100644 (file)
@@ -82,7 +82,6 @@ struct iucv_array {
 } __attribute__ ((aligned (8)));
 
 extern const struct bus_type iucv_bus;
-extern struct device *iucv_root;
 
 struct device_driver;
 
index 9db7c2c0ae721b9e9b042720e820ff8a6ad9e084..2e61f19621eec0de56edf19488044ea26776a022 100644 (file)
@@ -73,8 +73,7 @@ const struct bus_type iucv_bus = {
 };
 EXPORT_SYMBOL(iucv_bus);
 
-struct device *iucv_root;
-EXPORT_SYMBOL(iucv_root);
+static struct device *iucv_root;
 
 static void iucv_release_device(struct device *device)
 {