scripts/machine-summary: remove obsolete is_old test

This test isn't used any more, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
This commit is contained in:
Ross Burton committed 2022-01-25 16:21:01 +00:00
1 parent d2c5a5d289
commit bc3d654504
1 file changed
-6
-6
View File
@@ -154,12 +154,6 @@ class Format:
trim_blocks=True,
lstrip_blocks=True
)
def is_old(version, upstream):
if "+git" in version:
# strip +git and see if this is a post-release snapshot
version = version.replace("+git", "")
return version != upstream
env.tests["old"] = is_old
return env.get_template(name)