summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-01-01 03:30:18 +0000
committerDavid S. Miller <davem@davemloft.net>2013-01-03 22:37:36 -0800
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 5c367f22595..012ac87d490 100644
--- a/arch/um/include/shared/net_kern.h
+++ b/arch/um/include/shared/net_kern.h
@@ -18,7 +18,6 @@ struct uml_net {
struct net_device *dev;
struct platform_device pdev;
int index;
- unsigned char mac[ETH_ALEN];
};
struct uml_net_private {