aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-07 14:39:40 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2021-01-31 12:03:00 +0100
commitcad5a69f8326c00b10f24872e4616a5238644d1d (patch)
tree78b456d8422b3033a595b610e134435b4f5bf984
parent68364a4b58dfd8fcacfc078329cd6c6275a00fd1 (diff)
downloadbuildroot-cad5a69f8326c00b10f24872e4616a5238644d1d.tar.gz
buildroot-cad5a69f8326c00b10f24872e4616a5238644d1d.tar.bz2
support/scripts/pkg-stats: drop unused cpeid_name() function
The cpeid_name() function is not used anywhere, drop it. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rwxr-xr-xsupport/scripts/pkg-stats7
1 files changed, 0 insertions, 7 deletions
diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats
index ef181a8813..66d612ee7b 100755
--- a/support/scripts/pkg-stats
+++ b/support/scripts/pkg-stats
@@ -1059,13 +1059,6 @@ def parse_args():
return args
-def cpeid_name(pkg):
- try:
- return pkg.cpeid.split(':')[1]
- except Exception: # cpeid may be None, or improperly formatted
- return ''
-
-
def __main__():
global cvecheck