From 7cecf8cf9e8834c568fde0bfd58d488c6b097d5c Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Wed, 29 Nov 2017 06:10:38 -0800 Subject: 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 Reviewed-on: https://git-master.nvidia.com/r/1607233 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/gr_gm20b.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/gr_gm20b.c') 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 @@ #include "gk20a/gk20a.h" #include "gk20a/gr_gk20a.h" -#include "common/linux/os_linux.h" #include "gr_gm20b.h" #include "pmu_gm20b.h" -- cgit v1.2.2