Re: [PATCH] misc: remove meaningless null check before kfree

2018-08-17 Thread Robin Holt
On Thu, Aug 16, 2018 at 10:55 PM zhong jiang wrote: > Signed-off-by: zhong jiang Acked-by: Robin Holt

[PATCH] misc: remove meaningless null check before kfree

2018-08-16 Thread zhong jiang
kfree has taken null pointer into account. so check the null pointer before kfree is meaningless. Signed-off-by: zhong jiang --- drivers/misc/sgi-xp/xpc_partition.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/sgi-xp/xpc_partition.c b/drivers/misc/sgi-xp/xp