diff --git a/scripts/gen_kobject_list.py b/scripts/gen_kobject_list.py index 2d54fcc048c..93f2ed80e80 100755 --- a/scripts/gen_kobject_list.py +++ b/scripts/gen_kobject_list.py @@ -858,7 +858,6 @@ def write_gperf_table(fp, syms, objs, little_endian, static_begin, static_end): # Generate the array of already mapped thread indexes fp.write('\n') - fp.write('Z_GENERIC_SECTION(.kobject_data.data) ') fp.write('uint8_t _thread_idx_map[%d] = {' % (thread_max_bytes)) for i in range(0, thread_max_bytes):