From: Thomas Petazzoni Date: Thu, 7 Jan 2021 13:39:40 +0000 (+0100) Subject: support/scripts/pkg-stats: drop unused cpeid_name() function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cad5a69f8326c00b10f24872e4616a5238644d1d;p=buildroot.git support/scripts/pkg-stats: drop unused cpeid_name() function The cpeid_name() function is not used anywhere, drop it. Signed-off-by: Thomas Petazzoni --- 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