Patchwork [07/12] dsa: Remove unnecessary exports

login
register
mail settings
Submitter Tim Gardner
Date May 24, 2012, 8:58 p.m.
Message ID <1337893104-130090-8-git-send-email-tim.gardner@canonical.com>
Download mbox | patch
Permalink /patch/161212/
State New
Headers show

Comments

Tim Gardner - May 24, 2012, 8:58 p.m.
From: Ben Hutchings <ben@decadent.org.uk>

BugLink: http://bugs.launchpad.net/bugs/1004148

I mistakenly exported functions from slave.c that are only called from
dsa.c, part of the same module.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit fa67a04497c03a1ead12cd896262de14980311e8)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 net/dsa/slave.c |    2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index c9d52ca..56cf9b8 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -45,7 +45,6 @@  void dsa_slave_mii_bus_init(struct dsa_switch *ds)
 			ds->master_mii_bus->id, ds->pd->sw_addr);
 	ds->slave_mii_bus->parent = &ds->master_mii_bus->dev;
 }
-EXPORT_SYMBOL_GPL(dsa_slave_mii_bus_init);
 
 
 /* slave device handling ****************************************************/
@@ -403,4 +402,3 @@  dsa_slave_create(struct dsa_switch *ds, struct device *parent,
 
 	return slave_dev;
 }
-EXPORT_SYMBOL_GPL(dsa_slave_create);