diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-06-27 17:37:11 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-07-04 07:44:24 -0400 |
commit | 69e0393a0e1eb8b30adda89a79556499b0c5cb82 (patch) | |
tree | 03770ae4e94c88577967f1b6b4574fe2b484f252 /drivers/gpu/nvgpu/gk20a/hal.h | |
parent | b3324dc30321437ba7206db1e64a33f9de505779 (diff) |
gpu: nvgpu: kmalloc does not return error codes
kmalloc() returns NULL instead of error code on failure. Do not check
if the return value is an error code.
Change-Id: I31a46080ab51773a22bebe4cf03a5b0c94467204
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1172052
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/hal.h')
0 files changed, 0 insertions, 0 deletions