asix: do not free array priv->mdio->irq
authorColin Ian King <colin.king@canonical.com>
Thu, 3 Mar 2016 13:27:56 +0000 (13:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
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 <colin.king@canonical.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/ax88172a.c