mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
asix: do not free array priv->mdio->irq
Used to be allocated and required freeing, but now
priv->mdio->irq is now a fixed sized array and should no longer be
free'd.
Issue detected using static analysis with CoverityScan
Fixes: e7f4dc3536 ("mdio: Move allocation of interrupts into core")
Signed-off-by: Colin Ian King <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
7bfc60822d
commit
eb1f420214
1 changed files with 0 additions and 1 deletions
|
|
@ -134,7 +134,6 @@ static void ax88172a_remove_mdio(struct usbnet *dev)
|
|||
|
||||
netdev_info(dev->net, "deregistering mdio bus %s\n", priv->mdio->id);
|
||||
mdiobus_unregister(priv->mdio);
|
||||
kfree(priv->mdio->irq);
|
||||
mdiobus_free(priv->mdio);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue