[1/4] scripts/machine-summary: remove obsolete is_old test

Message ID 20220125165936.1456059-1-ross.burton@arm.com
State New
Headers show
Series [1/4] scripts/machine-summary: remove obsolete is_old test | expand

Commit Message

Ross Burton Jan. 25, 2022, 4:59 p.m. UTC
This test isn't used any more, so remove it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 scripts/machine-summary.py | 6 ------
 1 file changed, 6 deletions(-)

Patch

diff --git a/scripts/machine-summary.py b/scripts/machine-summary.py
index 1f98f247..5e66cc1b 100755
--- a/scripts/machine-summary.py
+++ b/scripts/machine-summary.py
@@ -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)