diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2017-11-29 09:10:38 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-30 06:58:47 -0500 |
commit | 7cecf8cf9e8834c568fde0bfd58d488c6b097d5c (patch) | |
tree | 14f7e2b0dbd7b4c29b54ada842859eab62b51bd8 /drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |
parent | 31261ba8846c5e255a60df446a69fe3d07785440 (diff) |
gpu: nvgpu: remove linux specific include from gr_*.c files
Remove linux specific #include "common/linux/os_linux.h" from common source
files gr_gk20a.c/gr_gm20b.c/gr_gp10b.c
Remove use of ZERO_OR_NULL_PTR() and simply check if pointer is NULL or not
Jira NVGPU-405
Change-Id: I663fe298cc720f0b0e22beaa05697b18b375a204
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1607233
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c index d7afcea2..3341721c 100644 --- a/drivers/gpu/nvgpu/gm20b/gr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/gr_gm20b.c | |||
@@ -30,7 +30,6 @@ | |||
30 | 30 | ||
31 | #include "gk20a/gk20a.h" | 31 | #include "gk20a/gk20a.h" |
32 | #include "gk20a/gr_gk20a.h" | 32 | #include "gk20a/gr_gk20a.h" |
33 | #include "common/linux/os_linux.h" | ||
34 | 33 | ||
35 | #include "gr_gm20b.h" | 34 | #include "gr_gm20b.h" |
36 | #include "pmu_gm20b.h" | 35 | #include "pmu_gm20b.h" |