buildman: Avoid passing result into _read_done_file()
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:49:24 +0000 (17:49 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:11 +0000 (09:34 -0600)
commit5e5044b04c88c7889303ac1e8e9b48d17af903e2
tree7d922a1503107ffbc1939e6a954f2f0c45a5adce
parent335c1b9f8193daae8ba5af2ccefbb0a6057fa5ec
buildman: Avoid passing result into _read_done_file()

Move the creating of the result object into the function which sets it
up, to simplify the code.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/builderthread.py