diff options
author | Jiri Pirko <jiri@resnulli.us> | 2012-12-31 22:30:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-04 01:37:36 -0500 |
commit | 646cbcdae50e9ef40d7b77673a1f1b7eb7c18be5 (patch) | |
tree | 38492474e5578dcf2db44e070447b5fbc9a43244 /arch/um/include | |
parent | 15c6ff3bc0ff3464a8c7efcdea09c86454571622 (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.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 { | |||
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 | ||
24 | struct uml_net_private { | 23 | struct uml_net_private { |