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>
This commit is contained in:

committed by
David S. Miller

parent
15c6ff3bc0
commit
646cbcdae5
@@ -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 {
|
||||
|
Reference in New Issue
Block a user