[PATCH] nouveau: kfree() gracefully handles NULL pointers, testing is redundant

2012-03-15 Thread Jesper Juhl
Remove redundant NULL checks before kfree() in drivers/gpu/drm/nouveau/nvc0_graph.c Signed-off-by: Jesper Juhl --- drivers/gpu/drm/nouveau/nvc0_graph.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c

[PATCH] nouveau: kfree() gracefully handles NULL pointers, testing is redundant

2012-03-14 Thread Jesper Juhl
Remove redundant NULL checks before kfree() in drivers/gpu/drm/nouveau/nvc0_graph.c Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/gpu/drm/nouveau/nvc0_graph.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvc0_graph.c