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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Carstens <[email protected]> Signed-off-by: Alexander Gordeev <[email protected]>
1 parent ccec503 commit effb835

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

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)