Tag: 442cc432e68b24dc6bd70b1ee1f5d477ee1aa385

mm/zswap: delete unnecessary check before calling free_percpu()

Author: Markus Elfring <elfring@users.sourceforge.net> free_percpu() tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Cc: Seth Jennings Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — mm/zswap.c | 3 +– 1 file changed, 1 insertion(+), …

Continue reading