asix: do not free array priv->mdio->irq
authorColin Ian King <[email protected]>
Thu, 3 Mar 2016 13:27:56 +0000 (13:27 +0000)
committerDavid S. Miller <[email protected]>
Mon, 7 Mar 2016 03:56:48 +0000 (22:56 -0500)
commiteb1f420214adf81fd98d9e8df6b60318ef883102
tree2d21316ba6493505ce7ad2742fd2bb0a131f863b
parent7bfc60822d1cd44069f4fdb16f81a66f716bf787
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: e7f4dc3536a400 ("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]>
drivers/net/usb/ax88172a.c