diff options
| author | Josua Mayer <[email protected]> | 2023-05-05 11:20:47 +0300 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2023-05-08 10:47:08 +0200 |
| commit | 425d963dac7b5c54046774d836b5153574f7b9ba (patch) | |
| tree | 0212d88f2795256493c5fdf9e0c51c9b4a8f2670 /scripts/checkstack.pl | |
| parent | dfda0c0140483260ccfc40f5f412238ee0bb90c5 (diff) | |
cmd: tlv_eeprom: remove use of global variable has_been_read
has_been_read is only used as an optimization for do_tlv_eeprom.
Explicitly use and set inside this function, thus making read_eeprom
stateless.
Signed-off-by: Josua Mayer <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Cc: Stefan Roese <[email protected]>
Cc: Baruch Siach <[email protected]>
Cc: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
