Tag: 47aab4ab20259526419712df4c5d98b914d968dc

[media] drivers/media/dvb-frontends/s5h1432.c: Removes useless kfree()

Author: Peter Senna Tschudin <peter.senna@gmail.com> Remove useless kfree() and clean up code related to the removal. The semantic patch that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r exists@ position p1,p2; expression x; @@ if (x@p1 == NULL) { … kfree@p2(x); … return …; } @unchanged exists@ position r.p1,r.p2; expression e