From patchwork Tue Nov 6 17:58:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 150317 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp4192708ljp; Tue, 6 Nov 2018 09:59:48 -0800 (PST) X-Google-Smtp-Source: AJdET5fYZAI/OMC4L/cyBtrNJhM8qg+ywHKfdjlJv3fmgAHTI8z3p73Rm+mOHHh5O7ndHuzl9uGx X-Received: by 2002:a63:d10b:: with SMTP id k11-v6mr24873365pgg.80.1541527188042; Tue, 06 Nov 2018 09:59:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541527188; cv=none; d=google.com; s=arc-20160816; b=qAXk1izAecompwPnT+gXRni79Iam+pcARtKAVbOt/1VVrbKoHIwvc1mLxEIN0451XR r1xNSDREcG+ZANQA4tB67cxsnQZwjpskbDrm2P79sRkWv3TEfqcDbescGsc9/h+IN8k6 8XcAmIt9RoODTyFPXpYdqeiQ43C4FX3np7oGJru1GPZsfuPqEJ3/yUE1xcqgUstpCNHd xzCFvxPHiA6K3wqXDjcj03AkdW/tmfVfqFB3QuHexF7uxVTvDZS2PvN+gM3Sg8cl08Pm QLhEe08jXtPFuxq5ViWgxm7qD7BIHwYUeDFp96McyX0Er3NJz3tWo2OyDabFNzsKQ6E8 ZD9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=L6PrE6oMLXPfLWU2+Y0QVwCKpDyvz4KlAZ1gl4H0Grs=; b=tRsEcZPAP1/OL2vkz2OR55yD9rp9yGMfImQu/b841H59QB6wxjy1uV8DZHfOUkFbyb dycF34RT8WzFQYnPDnCSTHGQ+ZVROn1A2hwKTiljCaSD0M/QZjgGJG+gljMG6+O1SziH 8TpsxjYBZ6t7ccr9pe1DIrmgCLXu1UKv4JKVNMrrKcZPnaaXC6g2a7MHQGP6WvLWSjxi xo/T2YXhMhJDU0Z5TIF9q0EOJOeZYve3T38dX8EcQ5nf083tVHsXCffPrGD1zUHm2ueC pQLBifT1XxM4olOqJC+KeIjl533DR5U8FaJ06R12rz1DkTawmCY1UB024fZal1mqI/44 NJJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gSE1WmAr; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [198.145.21.10]) by mx.google.com with ESMTPS id k8-v6si38396906pgj.192.2018.11.06.09.59.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=gSE1WmAr; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 34EC02118C51F; Tue, 6 Nov 2018 09:59:12 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::441; helo=mail-wr1-x441.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 742242118C517 for ; Tue, 6 Nov 2018 09:59:10 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id z16-v6so14591418wrv.2 for ; Tue, 06 Nov 2018 09:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UqfAv1zKb4MG092pY9tMguraKJN6j/tv+A0sxgxcHqs=; b=gSE1WmArAw4eEuSf8ATnefuzDjk2S3ihfdaqZ5PD7iHN5udViix3WcZLoz3SDhT9lK 0qlnEkwW5nSHEqpmAL7xlRKcWXmcQ+Jh7yThQ3x80jc1iDDmX/rHdXZfpmqd1oY65Y/L IyDONLeGpsQADbF34gr/ti2KXrCwDs5c0QkAM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UqfAv1zKb4MG092pY9tMguraKJN6j/tv+A0sxgxcHqs=; b=sQaLyujygCWU7Afsr9JqzkNuT/gCFrz4lwiWrlPtyMcOGIhxgjW1g9OQpAOKkCpt2M WBF2s8ajg1IGdQ35DK88JERLqozGaENo/8SnIFd32q4yve1hc286nMMFJxMLKP68ytDy zsrIkShuWOYZXC4XENKY+r6nCMyQfxPLtllYliR76X2+RyTzsqpgQ+ROoSQzWUZv86Kq 0xoyHl7/ohxQwkTOFSynfih5usWV6P9kJBzvjvItXSnVPcODD+zdt641+CdjJjYbAdgc AzVr4Idl0iJJVyKz8ZQ9FsvTz+AyJrhnLmPdOz9fKtQpKt0+5P7Ze7imjR5Q13VX8MUF DjAg== X-Gm-Message-State: AGRZ1gK0wcxzKCSq1kiLjv1LOEHdTMSqlc8akhtH8ITyTxJ1FcCpLz9J 8cwQrXQqOqK+uL6PSvj5h+PZJPTSRNY= X-Received: by 2002:a5d:564f:: with SMTP id j15-v6mr23538656wrw.228.1541527148864; Tue, 06 Nov 2018 09:59:08 -0800 (PST) Received: from localhost.localdomain (laubervilliers-657-1-83-120.w92-154.abo.wanadoo.fr. [92.154.90.120]) by smtp.gmail.com with ESMTPSA id 134-v6sm2971522wmp.6.2018.11.06.09.59.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Nov 2018 09:59:08 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 6 Nov 2018 18:58:29 +0100 Message-Id: <20181106175833.26964-16-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181106175833.26964-1-ard.biesheuvel@linaro.org> References: <20181106175833.26964-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH edk2-staging 15/19] IntelUndiPkg/GigUndiDxe: remove forward declaration of non-existent function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: michael.d.kinney@intel.com, eric.jin@intel.com Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Remove the forward declaration of e1000_disable_ulp_lpt_lp (), which is never defined anywhere in the code. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c | 3 --- 1 file changed, 3 deletions(-) -- 2.19.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Ryszard Knop diff --git a/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c b/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c index 7669630a5c03..e9fc5394ab28 100644 --- a/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c +++ b/IntelUndiPkg/GigUndiDxe/e1000_ich8lan.c @@ -103,9 +103,6 @@ STATIC s32 e1000_reset_hw_ich8lan(struct e1000_hw *hw); STATIC s32 e1000_init_hw_ich8lan(struct e1000_hw *hw); STATIC s32 e1000_setup_link_ich8lan(struct e1000_hw *hw); STATIC s32 e1000_setup_copper_link_ich8lan(struct e1000_hw *hw); -#if !defined(NO_ULP_IN_S5_SUPPORT) -STATIC s32 e1000_disable_ulp_lpt_lp(struct e1000_hw *hw, bool force); -#endif /* !NO_ULP_IN_S5_SUPPORT && !ULP_IN_D0_SUPPORT */ STATIC s32 e1000_setup_copper_link_pch_lpt(struct e1000_hw *hw); STATIC s32 e1000_get_link_up_info_ich8lan(struct e1000_hw *hw, u16 *speed, u16 *duplex);