From: York Sun Date: Tue, 4 Oct 2016 21:33:50 +0000 (-0700) Subject: tools: buildman: Remove duplicated code X-Git-Tag: v2016.11-rc2~10^2~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f40fa9b36f42794cc8d778eb0e8d26cfb0c40bed;p=u-boot tools: buildman: Remove duplicated code Signed-off-by: York Sun CC: Simon Glass Fixed commit subject: Signed-off-by: Simon Glass Acked-by: Simon Glass --- diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index c4fe219532..8974351225 100644 --- a/tools/buildman/builderthread.py +++ b/tools/buildman/builderthread.py @@ -304,10 +304,6 @@ class BuilderThread(threading.Thread): print >>fd, 'arch', result.toolchain.arch fd.write('%s' % result.return_code) - with open(os.path.join(build_dir, 'toolchain'), 'w') as fd: - print >>fd, 'gcc', result.toolchain.gcc - print >>fd, 'path', result.toolchain.path - # Write out the image and function size information and an objdump env = result.toolchain.MakeEnvironment(self.builder.full_path) lines = []