commit | cf250de07cdfb9f1609d62df51a938159c53cecb | [log] [tgz] |
---|---|---|
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Mon Dec 15 15:13:32 2014 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 15 11:50:45 2014 -0500 |
tree | 3a60c9413b5d735d674080c16476c2251ebd82be | |
parent | e965be7d17b9c82424cbb079506f0f9a4f41656c [diff] |
net/macb: remove useless calls of devm_free_irq() Inside macb_probe(), when devm_request_irq() fails on queue q, there is no need to call devm_free_irq() on queues 0..q-1 because the managed device resources are released later when calling free_netdev(). Also removing devm_free_irq() call from macb_remove() for the same reason. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: David S. Miller <davem@davemloft.net>