zephyr/arch/xtensa/core
Ulf Magnusson 12ba9dfa52 scripts: Remove unused variables in all Python scripts
Discovered with pylint3.

Use the placeholder name '_' for unproblematic unused variables. It's
what I'm used to, and pylint knows not to flag it.

Python tip:

    for i in range(n):
        some_list.append(0)

can be replaced with

    some_list += n*[0]

Similarly, 3*'\t' gives '\t\t\t'.

(Relevant here because pylint flagged the loop index as unused.)

To do integer division in Python 3, use // instead of /.

Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
2019-03-28 11:06:20 -05:00
..
offsets arch: xtensa: Remove unused field from _thread_arch 2018-12-11 15:33:07 -05:00
startup boards: intel_s1000_crb: fix setting cache attributes 2019-02-15 16:21:50 -05:00
atomic.S
CMakeLists.txt xtensa/asm2: Don't needlessly build asm2 sources 2018-02-16 10:44:29 -05:00
cpu_idle.c xtensa: removed obsolete headers 2018-09-01 13:58:46 -04:00
crt1.S all: Update reserved function names 2019-03-11 13:48:42 -04:00
fatal.c arch: Use macro BIT for shift operations 2019-03-26 22:06:45 -04:00
irq_manage.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
irq_offload.c arch: Use macro BIT for shift operations 2019-03-26 14:31:29 -04:00
swap.S systemview: add support natively using tracing hooks 2018-08-21 05:45:47 -07:00
thread.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
window_vectors.S xtensa: Move register window exception handlers into a separate file 2018-02-16 10:44:29 -05:00
xt_zephyr.S all: Update reserved function names 2019-03-11 13:48:42 -04:00
xtensa_context.S
xtensa_intgen.py scripts: Remove unused variables in all Python scripts 2019-03-28 11:06:20 -05:00
xtensa_intgen.tmpl xtensa: Interrupt generator script and output for qemu & esp32 2018-02-16 10:44:29 -05:00
xtensa_intr_asm.S all: Update reserved function names 2019-03-11 13:48:42 -04:00
xtensa_intr.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
xtensa_vectors.S all: Update reserved function names 2019-03-11 13:48:42 -04:00
xtensa-asm2-util.S xtensa: specify which SR to store pointer to _kernel.cpu struct 2018-10-19 17:52:45 -04:00
xtensa-asm2.c all: Update reserved function names 2019-03-11 13:48:42 -04:00