Tag: 3f037426d61027d40063a1fc2d00a08154c7c187

[media] drivers/media/dvb-frontends/dvb_dummy_fe.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