mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
948b337e62
commit
aaeb6cdfa5
51 changed files with 42 additions and 128 deletions
|
@ -2111,8 +2111,6 @@ static int b44_get_invariants(struct b44 *bp)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
memcpy(bp->dev->perm_addr, bp->dev->dev_addr, bp->dev->addr_len);
|
||||
|
||||
bp->imask = IMASK_DEF;
|
||||
|
||||
/* XXX - really required?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue