drm/nvc0/graph: remove redundant null checks
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sun, 27 Jan 2013 15:11:18 +0000 (16:11 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 20 Feb 2013 06:00:37 +0000 (16:00 +1000)
commitfd69aee4271ead4bf5c759aeaf4f16ab3d63322f
tree0185ae3c66b113ea95f015a06635c83d4fc22877
parentfc3109a2cb294335bcf3c5db5e16ae5fe68849f2
drm/nvc0/graph: remove redundant null checks

It's safe to call kfree(NULL).

Found by smatch.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/core/engine/graph/nvc0.c