Tag: 1a5d76dbe825fa6deba3d8979bbd334ea17b6dcc

drivers/base/core.c: Remove two unused variables and two useless calls to kfree

Author: Peter Senna Tschudin <peter.senna@gmail.com> old_class_name, and new_class_name are never used. This patch remove the declaration and calls to kfree. The semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @r1 forall@ type T; identifier i; @@ * T *i = NULL; … when != i * kfree(i); // Signed-off-by: Peter Senna Tschudin …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.