From 02fe85d5e0ef16947354a0253903cac5e48a3d4b Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Wed, 18 Mar 2020 14:19:47 +0200 Subject: [PATCH] net: Remove leftovers for obsolete net stacks shell command The "net stacks" shell command support was just removed, but the net_stacks linker section was left around. Signed-off-by: Jukka Rissanen --- include/linker/common-ram.ld | 10 ---------- scripts/sanity_chk/sanitylib.py | 1 - 2 files changed, 11 deletions(-) diff --git a/include/linker/common-ram.ld b/include/linker/common-ram.ld index d95a2b697c1..56fd2f6ee30 100644 --- a/include/linker/common-ram.ld +++ b/include/linker/common-ram.ld @@ -150,16 +150,6 @@ __net_if_dev_end = .; } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) -#if defined(CONFIG_NET_SHELL) - SECTION_DATA_PROLOGUE(net_stack,,SUBALIGN(4)) - { - __net_stack_start = .; - *(".net_stack.*") - KEEP(*(SORT_BY_NAME(".net_stack*"))) - __net_stack_end = .; - } GROUP_DATA_LINK_IN(RAMABLE_REGION, ROMABLE_REGION) -#endif /* CONFIG_NET_SHELL */ - SECTION_DATA_PROLOGUE(net_l2_data,,SUBALIGN(4)) { __net_l2_data_start = .; diff --git a/scripts/sanity_chk/sanitylib.py b/scripts/sanity_chk/sanitylib.py index aef825faf75..7d36b04bbfc 100644 --- a/scripts/sanity_chk/sanitylib.py +++ b/scripts/sanity_chk/sanitylib.py @@ -884,7 +884,6 @@ class SizeCalculator: "_k_pipe_area", "net_if", "net_if_dev", - "net_stack", "net_l2_data", "_k_queue_area", "_net_buf_pool_area",