From patchwork Thu Jan 7 13:39:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 1423285 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DBS5z0sTNz9sSC for ; Fri, 8 Jan 2021 00:40:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 77DB8869E4; Thu, 7 Jan 2021 13:40:04 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M9E-GQlNgE8P; Thu, 7 Jan 2021 13:40:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E2998698F; Thu, 7 Jan 2021 13:40:02 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B23B41BF9BD for ; Thu, 7 Jan 2021 13:39:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id AF44786004 for ; Thu, 7 Jan 2021 13:39:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PI2dpu-PHBaj for ; Thu, 7 Jan 2021 13:39:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5ABC486B07 for ; Thu, 7 Jan 2021 13:39:55 +0000 (UTC) Received: from localhost (aputeaux-654-1-223-147.w90-2.abo.wanadoo.fr [90.2.82.147]) (Authenticated sender: thomas.petazzoni@bootlin.com) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 7859810000F; Thu, 7 Jan 2021 13:39:53 +0000 (UTC) From: Thomas Petazzoni To: Buildroot List Date: Thu, 7 Jan 2021 14:39:40 +0100 Message-Id: <20210107133948.2997849-4-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210107133948.2997849-1-thomas.petazzoni@bootlin.com> References: <20210107133948.2997849-1-thomas.petazzoni@bootlin.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 03/10] support/scripts/pkg-stats: drop unused cpeid_name() function X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Weber , Thomas Petazzoni Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The cpeid_name() function is not used anywhere, drop it. Signed-off-by: Thomas Petazzoni --- support/scripts/pkg-stats | 7 ------- 1 file changed, 7 deletions(-) diff --git a/support/scripts/pkg-stats b/support/scripts/pkg-stats index c084c54b60..9d28087d96 100755 --- a/support/scripts/pkg-stats +++ b/support/scripts/pkg-stats @@ -1060,13 +1060,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__(): args = parse_args() if args.packages: