aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2012-12-31 22:30:18 -0500
committerDavid S. Miller <davem@davemloft.net>2013-01-04 01:37:36 -0500
commit646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5 (patch)
tree38492474e5578dcf2db44e070447b5fbc9a43244 /arch/um/include
parent15c6ff3bc0ff3464a8c7efcdea09c86454571622 (diff)
um: net: use eth_hw_addr_random() to generate random mac
Also remove unused "mac" from uml_net struct. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/um/include')
-rw-r--r--arch/um/include/shared/net_kern.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/include/shared/net_kern.h b/arch/um/include/shared/net_kern.h
index 5c367f22595b..012ac87d4900 100644
--- a/arch/um/include/shared/net_kern.h
+++ b/arch/um/include/shared/net_kern.h
@@ -18,7 +18,6 @@ struct uml_net {
18 struct net_device *dev; 18 struct net_device *dev;
19 struct platform_device pdev; 19 struct platform_device pdev;
20 int index; 20 int index;
21 unsigned char mac[ETH_ALEN];
22}; 21};
23 22
24struct uml_net_private { 23struct uml_net_private {