diff options
author | Junling Zheng <zhengjunling@huawei.com> | 2020-06-03 15:38:27 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:21:00 +0100 |
commit | de26d6ce9d2154b5bb51491d9f4bd590cb5a0fc7 (patch) | |
tree | f208e087b0ee8fc5b5f5ad1ad6371a5eca91c7fa /meta/classes/buildstats.bbclass | |
parent | 3ae0aa1df25c8c7511950c6fc965955bdb205cd2 (diff) | |
download | openembedded-core-de26d6ce9d2154b5bb51491d9f4bd590cb5a0fc7.tar.gz |
buildstats.bbclass: Remove useless variables
Remove useless variables bn and bsdir in write_task_data().
Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r-- | meta/classes/buildstats.bbclass | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 2590c60c63..e7d47c74df 100644 --- a/meta/classes/buildstats.bbclass +++ b/meta/classes/buildstats.bbclass @@ -80,8 +80,6 @@ def get_buildtimedata(var, d): return timediff, cpuperc def write_task_data(status, logfile, e, d): - bn = d.getVar('BUILDNAME') - bsdir = os.path.join(d.getVar('BUILDSTATS_BASE'), bn) with open(os.path.join(logfile), "a") as f: elapsedtime = get_timedata("__timedata_task", d, e.time) if elapsedtime: |