drm/amdkfd: Don't BUG on freeing GART sub-allocation
authorOded Gabbay <oded.gabbay@amd.com>
Mon, 12 Jan 2015 20:34:21 +0000 (22:34 +0200)
committerOded Gabbay <oded.gabbay@amd.com>
Mon, 12 Jan 2015 20:34:21 +0000 (22:34 +0200)
Instead of creating a BUG if trying to free a NULL GART sub-allocation object,
just return 0 (success).

This is done to mirror behavior of kfree.

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>

No differences found