remove init of dev->perm_addr in drivers
perm_addr is initialized correctly in register_netdevice() so to init it in drivers is no longer needed. Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
Esse commit está contido em:
@@ -3603,7 +3603,6 @@ int t4_port_init(struct adapter *adap, int mbox, int pf, int vf)
|
||||
p->lport = j;
|
||||
p->rss_size = rss_size;
|
||||
memcpy(adap->port[i]->dev_addr, addr, ETH_ALEN);
|
||||
memcpy(adap->port[i]->perm_addr, addr, ETH_ALEN);
|
||||
adap->port[i]->dev_id = j;
|
||||
|
||||
ret = ntohl(c.u.info.lstatus_to_modtype);
|
||||
|
Referência em uma nova issue
Block a user