summaryrefslogtreecommitdiff
path: root/doc/sphinx/load_config.py
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2019-04-29 01:58:46 +0530
committerJagan Teki <jagan@amarulasolutions.com>2019-06-10 17:59:48 +0530
commit65f88e0408e8ddba827fb9ace1596591365f0b79 (patch)
tree26f49600f4006cf498e53abab95eb8926f0f0346 /doc/sphinx/load_config.py
parente4da4c2e0e3f4686c104e45a1967587423f04e04 (diff)
spi: mpc8xxx: Reduce scope of loop variables
The transmission loop starts with setting some variables, which are only used inside the loop. Reduce the scope to the loop to make the declaration and initialization of these variables coincide. In the case of char_size this also always initializes the variable immediately with the final value actually used in the loop (instead of the placeholder value 32). Signed-off-by: Mario Six <mario.six@gdsys.cc> Acked-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'doc/sphinx/load_config.py')
0 files changed, 0 insertions, 0 deletions