Skip to content

Commit effb835

Browse files
hcahcaAlexander Gordeev
authored andcommitted
s390/iucv: Unexport iucv_root
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>
1 parent ccec503 commit effb835

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

include/net/iucv/iucv.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ struct iucv_array {
8282
} __attribute__ ((aligned (8)));
8383

8484
extern const struct bus_type iucv_bus;
85-
extern struct device *iucv_root;
8685

8786
struct device_driver;
8887

net/iucv/iucv.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ const struct bus_type iucv_bus = {
7373
};
7474
EXPORT_SYMBOL(iucv_bus);
7575

76-
struct device *iucv_root;
77-
EXPORT_SYMBOL(iucv_root);
76+
static struct device *iucv_root;
7877

7978
static void iucv_release_device(struct device *device)
8079
{

0 commit comments

Comments
 (0)