diff options
Diffstat (limited to 'arch/um/include/net_kern.h')
-rw-r--r-- | arch/um/include/net_kern.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/um/include/net_kern.h b/arch/um/include/net_kern.h index 769fba43ee03..280459fb0b26 100644 --- a/arch/um/include/net_kern.h +++ b/arch/um/include/net_kern.h | |||
@@ -18,7 +18,6 @@ struct uml_net { | |||
18 | struct platform_device pdev; | 18 | struct platform_device pdev; |
19 | int index; | 19 | int index; |
20 | unsigned char mac[ETH_ALEN]; | 20 | unsigned char mac[ETH_ALEN]; |
21 | int have_mac; | ||
22 | }; | 21 | }; |
23 | 22 | ||
24 | struct uml_net_private { | 23 | struct uml_net_private { |
@@ -29,7 +28,6 @@ struct uml_net_private { | |||
29 | struct net_device_stats stats; | 28 | struct net_device_stats stats; |
30 | int fd; | 29 | int fd; |
31 | unsigned char mac[ETH_ALEN]; | 30 | unsigned char mac[ETH_ALEN]; |
32 | int have_mac; | ||
33 | unsigned short (*protocol)(struct sk_buff *); | 31 | unsigned short (*protocol)(struct sk_buff *); |
34 | int (*open)(void *); | 32 | int (*open)(void *); |
35 | void (*close)(int, void *); | 33 | void (*close)(int, void *); |
@@ -62,7 +60,6 @@ struct transport { | |||
62 | 60 | ||
63 | extern struct net_device *ether_init(int); | 61 | extern struct net_device *ether_init(int); |
64 | extern unsigned short ether_protocol(struct sk_buff *); | 62 | extern unsigned short ether_protocol(struct sk_buff *); |
65 | extern int setup_etheraddr(char *str, unsigned char *addr); | ||
66 | extern struct sk_buff *ether_adjust_skb(struct sk_buff *skb, int extra); | 63 | extern struct sk_buff *ether_adjust_skb(struct sk_buff *skb, int extra); |
67 | extern int tap_setup_common(char *str, char *type, char **dev_name, | 64 | extern int tap_setup_common(char *str, char *type, char **dev_name, |
68 | char **mac_out, char **gate_addr); | 65 | char **mac_out, char **gate_addr); |
@@ -70,14 +67,3 @@ extern void register_transport(struct transport *new); | |||
70 | extern unsigned short eth_protocol(struct sk_buff *skb); | 67 | extern unsigned short eth_protocol(struct sk_buff *skb); |
71 | 68 | ||
72 | #endif | 69 | #endif |
73 | |||
74 | /* | ||
75 | * Overrides for Emacs so that we follow Linus's tabbing style. | ||
76 | * Emacs will notice this stuff at the end of the file and automatically | ||
77 | * adjust the settings for this buffer only. This must remain at the end | ||
78 | * of the file. | ||
79 | * --------------------------------------------------------------------------- | ||
80 | * Local variables: | ||
81 | * c-file-style: "linux" | ||
82 | * End: | ||
83 | */ | ||