From 0f291f0d5854b35e802fc0cd102fe2d669103edd Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Thu, 18 Jan 2018 14:05:07 -0800 Subject: gpu: nvgpu: Remove fault_buf_status array Now that we have a consistent way to check if a mem allocation is valid this array is not necessary. The code can simply check the validity of the nvgpu_mem. Change-Id: I6aaf563ddc314cf86a2c2b98f7eb75fa7a9a1ad9 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1641637 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/mm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/mm.h b/drivers/gpu/nvgpu/include/nvgpu/mm.h index e7b3e52c..90c6946a 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/mm.h +++ b/drivers/gpu/nvgpu/include/nvgpu/mm.h @@ -129,7 +129,6 @@ struct mm_gk20a { struct nvgpu_mem bar2_desc; struct nvgpu_mem hw_fault_buf[FAULT_TYPE_NUM]; - unsigned int hw_fault_buf_status[FAULT_TYPE_NUM]; struct mmu_fault_info *fault_info[FAULT_TYPE_NUM]; struct nvgpu_mutex hub_isr_mutex; u32 hub_intr_types; -- cgit v1.2.2