Tag: 6c45de0d51a3d93267ee100bff8c4632b1d49e8f

PM / hibernate: Deletion of an unnecessary check before the function call “vfree”

Author: Markus Elfring <elfring@users.sourceforge.net> The vfree() function performs also input parameter validation. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Rafael J. Wysocki — kernel/power/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)   diff –git a/kernel/power/swap.c b/kernel/power/swap.c index …

Continue reading