aboutsummaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2022-09-14 16:45:10 +0200
committerAngel Pons <th3fanbus@gmail.com>2022-09-18 21:40:56 +0000
commit813c68ad9cf2bc61b9923b3eab429ed318359281 (patch)
treefa23f1d8b10280f35fbb90ae04c74b81313cf78e /layout.c
parentca61c3dd3efcdf1aa5c7ea055514b0985e5fff48 (diff)
downloadflashrom-813c68ad9cf2bc61b9923b3eab429ed318359281.tar.gz
flashrom-813c68ad9cf2bc61b9923b3eab429ed318359281.tar.bz2
flashrom-813c68ad9cf2bc61b9923b3eab429ed318359281.zip
flashrom.c: Drop `programmer_param` global variable
The `programmer_param` global variable is only valid within the scope of the `programmer_init()` function, which calls a programmer-specific init function that calls `extract_programmer_param_str()` to obtain the value of programmer-specific parameters. Get rid of this global variable by piping the "programmer_param" string through a function parameter specifically added for this purpose in the past, but was not used yet. Change-Id: I59397451ea625bd431b15848bad5ec7cb926f22d Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67649 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Thomas Heijligen <src@posteo.de>
Diffstat (limited to 'layout.c')
0 files changed, 0 insertions, 0 deletions