commit | 4f52f2256eae0b8495c308b78a7edf4094e3dd67 | [log] [tgz] |
---|---|---|
author | Felix Kuehling <Felix.Kuehling@amd.com> | Tue Aug 15 23:00:09 2017 -0400 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Tue Aug 15 23:00:09 2017 -0400 |
tree | e6bffdeea67f722dea2745d8f12d662c3097218d | |
parent | dbf56ab11a09550c00edb84fc4b2197350154e99 [diff] |
drm/amdkfd: Remove BUG_ONs for NULL pointer arguments Remove BUG_ONs that check for NULL pointer arguments that are dereferenced in the same function. Dereferencing the NULL pointer will generate a BUG anyway, so the explicit check is redundant and unnecessary overhead. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>