gpu: nvgpu: remove unreferenced typedefs

MISRA Advisory Rule 2.3 states that a project should not contain
unused type declarations.

The justification for this rule is that a code reviewer may not
know if such a declaration was left behind inadvertently.

The nvgpu deviation record for Advisory Rule 2.3 states that no such
violations will remain that fit this description.

This change removes several unreferenced typedefs so that this
requirement is met.

JIRA NVGPU-3798

Change-Id: I852b5d1fe8d6beb12e6b93219e3101d806a88a39
Signed-off-by: Scott Long <scottl@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2150415
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Scott Long
2019-07-09 09:16:52 -07:00
committed by mobile promotions
parent 42440a161a
commit accf47768f
2 changed files with 2 additions and 3 deletions

View File

@@ -28,7 +28,6 @@
#include <nvgpu/types.h>
struct gk20a;
struct gr_gk20a;
u64 gm20b_determine_L2_size_bytes(struct gk20a *g);
#ifdef CONFIG_NVGPU_GRAPHICS

View File

@@ -60,7 +60,9 @@ struct nvgpu_netlist_vars;
struct netlist_av_list;
struct netlist_aiv_list;
struct netlist_av64_list;
#ifdef CONFIG_NVGPU_FECS_TRACE
struct nvgpu_gr_fecs_trace;
#endif
struct nvgpu_gr_isr_data;
struct nvgpu_gpu_ctxsw_trace_entry;
struct nvgpu_cpu_time_correlation_sample;
@@ -100,11 +102,9 @@ struct nvgpu_fecs_method_op;
struct nvgpu_mem;
struct gk20a_cs_snapshot_client;
struct dbg_session_gk20a;
struct gk20a_ctxsw_ucode_info;
struct ctxsw_buf_offset_map_entry;
struct nvgpu_dbg_reg_op;
struct gk20a_cs_snapshot;
struct nvgpu_preemption_modes_rec;
struct nvgpu_gr_ctx;
struct nvgpu_fecs_host_intr_status;
struct nvgpu_fecs_ecc_status;