scripts: gen_priv_stacks: Remove unused static kernel object stuff

Might've been a copy-paste from scripts/gen_kobject_list.py.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
Ulf Magnusson 2019-03-25 20:02:21 +01:00 committed by Kumar Gala
parent 0aeba398fb
commit 1a27de0d31

View file

@ -73,7 +73,7 @@ u8_t *_k_priv_stack_find(void *obj)
"""
def write_gperf_table(fp, eh, objs, static_begin, static_end):
def write_gperf_table(fp, eh, objs):
fp.write(header)
# priv stack declarations
@ -134,8 +134,7 @@ def main():
sys.exit(1)
with open(args.output, "w") as fp:
write_gperf_table(fp, eh, objs, syms["_static_kernel_objects_begin"],
syms["_static_kernel_objects_end"])
write_gperf_table(fp, eh, objs)
if __name__ == "__main__":