Skip to content

Commit ccee9a2

Browse files
Joelgranadosmcgrof
authored andcommitted
intel drm: Remove now superfluous sentinel element from ctl_table array
This commit comes at the tail end of a greater effort to remove the empty elements at the end of the ctl_table arrays (sentinels) which will reduce the overall build time size of the kernel and run time memory bloat by ~64 bytes per sentinel (further information Link : https://lore.kernel.org/all/ZO5Yx5JFogGi%2FcBo@bombadil.infradead.org/) Remove sentinel from oa_table Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
1 parent a90d3c4 commit ccee9a2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpu/drm/i915/i915_perf.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4896,7 +4896,6 @@ static struct ctl_table oa_table[] = {
48964896
.extra1 = SYSCTL_ZERO,
48974897
.extra2 = &oa_sample_rate_hard_limit,
48984898
},
4899-
{}
49004899
};
49014900

49024901
static u32 num_perf_groups_per_gt(struct intel_gt *gt)

0 commit comments

Comments
 (0)