kernel/swconfig: remove obsolete portmapping feature from swconfig

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2016-08-12 14:51:59 +02:00
parent 63f6fc5c16
commit 675407baa4
5 changed files with 1 additions and 124 deletions

View File

@@ -105,7 +105,6 @@ struct switch_dev_ops {
};
struct switch_dev {
struct device_node *of_node;
const struct switch_dev_ops *ops;
/* will be automatically filled */
char devname[IFNAMSIZ];
@@ -126,7 +125,6 @@ struct switch_dev {
struct mutex sw_mutex;
struct switch_port *portbuf;
struct switch_portmap *portmap;
struct switch_port_link linkbuf;
char buf[128];
@@ -141,11 +139,6 @@ struct switch_port {
u32 flags;
};
struct switch_portmap {
u32 virt;
const char *s;
};
struct switch_val {
const struct switch_attr *attr;
int port_vlan;