diff options
author | Jiri Pirko <jiri@resnulli.us> | 2013-01-01 04:30:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-04 07:37:36 +0100 |
commit | 646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5 (patch) | |
tree | 38492474e5578dcf2db44e070447b5fbc9a43244 /arch/um/include | |
parent | net: remove unnecessary NET_ADDR_RANDOM "bitclean" (diff) | |
download | linux-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.h | 1 |
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 { |