commit | 7cefdd1f55ec075f1f2da0a321495d5a8262ffaa | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Sat Aug 04 06:50:49 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Aug 06 13:24:27 2012 -0700 |
tree | f09362c83c28bd0a70050cd566421d834eba1aed | |
parent | caa0bf648cd20a2efbb6558531711e9ce2c6e948 [diff] |
drivers/net/phy/mdio-mux-gpio.c: drop devm_kfree of devm_kzalloc'd data devm_kfree should not have to be explicitly used. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: David S. Miller <davem@davemloft.net>