From patchwork Sun Oct 27 10:16:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Georg-Johann Lay X-Patchwork-Id: 1184966 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-511849-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gjlay.de Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Gb9+FGoP"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gjlay.de header.i=@gjlay.de header.b="K59UMyNe"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 471DLg4yKnz9sP3 for ; Sun, 27 Oct 2019 21:17:45 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; q=dns; s=default; b=Z3Z4SriJaJD9O4NUk8U0mzvhJ4Ct8Pr0jRcyl+d8sQs 7yxP/OyvEQdPVKigwuNWib1sdn8flshTX8TaI4W93dKBZZhenSN4e9IG2SKpO074 w7i4bfz8UwsfZbQxhWSvRqEcorvSksXnCm+qf4Cq/H3iT3FWSD6QxJ0/1QSFQagE = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:cc:subject:content-type; s=default; bh=WHk3u3ad5swALB87XHzrzK4GqOI=; b=Gb9+FGoPJMdpU2cJs cgd41zW2bCkYp/6qNlhVKTpQJsYNhERKUwadYaPJqiRRcaiIx/eJdVegD0t4rN2i IZ2ByJ+aoBftAhyZT0wd3VfluAy8qj0oZj9IE29VepAe354KxVPGFOWLrNsntIgN vcrgGgNeHaPRHf750QdrUfuzZw= Received: (qmail 107157 invoked by alias); 27 Oct 2019 10:17:37 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 107138 invoked by uid 89); 27 Oct 2019 10:17:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=H*UA:2.0.0.24, H*u:2.0.0.24, H*UA:20100228, H*u:20100228 X-HELO: mo4-p00-ob.smtp.rzone.de Received: from mo4-p00-ob.smtp.rzone.de (HELO mo4-p00-ob.smtp.rzone.de) (85.215.255.23) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 27 Oct 2019 10:17:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1572171452; s=strato-dkim-0002; d=gjlay.de; h=Subject:CC:To:From:Date:Message-ID:X-RZG-CLASS-ID:X-RZG-AUTH:From: Subject:Sender; bh=DT2JxVONXI1ThVZ8fn8S3RS7WltvXL20Wt2ghIX2dLc=; b=K59UMyNetUYX4C4QPhgA7QAiqAY1Gfz+BE0D5TsyJeBoHk50sT2VPbpCfefbaxzyQ/ 6okRBV0qPE40hNw3DEGy5/Fvkf33+s1lVer8aoNVAJqewmU6LoNxWQh7LaI7HnToUFjz FrFyxgr7opOjgbUHUZ6/ypuJ/OyYczGN40oUwVAp/d66icIkc4jKIoSNqyk7UHcYXfM3 F303caAnPJC9Mujz+tBoL1y2pOD+SIgm501fd+o2cMD7TAH/gIFkBhm3oh1KNyHt1KwI 5wKfcv3cMYg3iucR4BtLAHyjTzlt3kxK5DHv0K/jwoPnKHjdcd7n9tdJ93NgA0QcLLmQ Biwg== Received: from [192.168.2.100] by smtp.strato.de (RZmta 44.28.1 DYNA|AUTH) with ESMTPSA id t01740v9RAHUXbc (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 27 Oct 2019 11:17:30 +0100 (CET) Message-ID: <5DB56E68.9030408@gjlay.de> Date: Sun, 27 Oct 2019 11:16:08 +0100 From: Georg-Johann Lay User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: GCC Patches CC: Denis Chertykov Subject: [patch,avr,committed] Remove an unused function (PR85969) X-IsSubscribed: yes Applied as obvious Johann PR target/85969 * config/avr/gen-avr-mmcu-specs.c (str_prefix_p): Remove unused static function. --- trunk/gcc/config/avr/gen-avr-mmcu-specs.c 2019/10/25 14:39:06 277454 +++ trunk/gcc/config/avr/gen-avr-mmcu-specs.c 2019/10/25 15:13:23 277455 @@ -50,14 +50,6 @@ #define SPECFILE_USAGE_URL \ "https://gcc.gnu.org/gcc-5/changes.html" -/* Return true iff STR starts with PREFIX. */ - -static bool -str_prefix_p (const char *str, const char *prefix) -{ - return strncmp (str, prefix, strlen (prefix)) == 0; -} - static const char header[] = "#\n"