summaryrefslogtreecommitdiffstats
path: root/arch/um/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2013-01-01 04:30:18 +0100
committerDavid S. Miller <davem@davemloft.net>2013-01-04 07:37:36 +0100
commit646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5 (patch)
tree38492474e5578dcf2db44e070447b5fbc9a43244 /arch/um/include
parentnet: remove unnecessary NET_ADDR_RANDOM "bitclean" (diff)
downloadlinux-646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5.tar.xz
linux-646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5.zip
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 {
struct net_device *dev;
struct platform_device pdev;
int index;
- unsigned char mac[ETH_ALEN];
};
struct uml_net_private {