From patchwork Thu Nov 15 02:33:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 151144 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6453583ljp; Wed, 14 Nov 2018 18:34:30 -0800 (PST) X-Google-Smtp-Source: AJdET5fn+p4Frs+vE1OBzrv3QVUFEV0SOwUteh4tTK66zJS5vdMlveUZaX3YvH1H1Ww8zL/VFuok X-Received: by 2002:a24:c343:: with SMTP id s64-v6mr4145639itg.20.1542249270418; Wed, 14 Nov 2018 18:34:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542249270; cv=none; d=google.com; s=arc-20160816; b=m73MkFqAdaucQdjjukUuEZcHCNjy+oBEkqMqf2JX3aKj4QasnKdIejxzSjPaKVIyl9 ZgtQnpzNZcZmAg48E7rMTdk4vhNUYsBt/knWNZVyzQs6nooaAlEfZgXspFcPwfL2L2jD MG4WORaoKt+nzHkhvMtN8cBdKDBsY6sqLlC06o6Wjmj8zG7mmNytLoGAZxw5bppBKymF jlnBm0GnooW7EQJxF8v+KKHihE31i/dGZ/LpJE85eK+xhzvHdUI5LCzKLfRWMjduG6Y2 WRR7+Zhv2iLDGPlX987U3Z/x6df2qeXn/LVLGYlScHBK5jngzYhcpnXEy6OiL/i6l8Wy H3Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=eSCIc2ergp+5E4z6Iz7rczBc967jcEg8EaNCmVw/eMc=; b=e9tt+YUFhR0rq+M8VF4yFPOvsQq6xPeMVQq4hp7v9w7AyAF4JDIGk8WLb4OOA7Z3jT cWBYcfYq0yLB7H355fv69UmsQ7issR0FQPW3oARg8eAMKAdJZ6inceyGax5gxOnIH9vn ojhuNulBrjqC4JGZ1vuf6KIpPAOBHLI48b6u4zw+EXA5qw90/6e9O0JG2y5xzCoXIRe6 OwW8vvuL2hgZVATpEPnrcEYa1wyTpUtXakVY7dmG8ih4OZPGKhgfZlUJSogTub28HTaK m8+dvd0Vsri32RwCyFJ1ftsZPCvDwheBPu5UinBrDsPkswmnp6oGozgt503tIlGXmg2c SwVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bzvoXAvF; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id f64si2417945ioa.156.2018.11.14.18.34.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 18:34:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=bzvoXAvF; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 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 37D2121BADAB2; Wed, 14 Nov 2018 18:34:11 -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=2607:f8b0:4864:20::642; helo=mail-pl1-x642.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) (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 84D232194D3B3 for ; Wed, 14 Nov 2018 18:34:10 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id b22-v6so3272495pls.7 for ; Wed, 14 Nov 2018 18:34: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; bh=dUDZjb0jR3rp3YjcRmu7mv0okfpmN1d9aak9DISaOGU=; b=bzvoXAvF+HnCyJfegVAtx/QUI/nU53nYySXdUxRC3PDwv8ViAy/WsZiKzo0VVZ4dk4 qTnmV0vTXMNAGj2BKUEkMMutnh3yndscCv9yCzupIM9Swft3MOfXagyp5rdo3GSkWMbG v/kE0qs/VIPtKhMG9qUAkMopsDoGYSwR+JJdI= 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; bh=dUDZjb0jR3rp3YjcRmu7mv0okfpmN1d9aak9DISaOGU=; b=m7+c4D+IWANd2wlR3RrWW8KjAPxI0oqHXCsjldJQvRtWc3sSfJyNzatfUBJe4asrGb Yr5zpYPL6kj6oNPKpPFfBamQ1xALizrfExq/awXlhGaRKjy5HKjp5PHjJ11BeaxybWzc fRzLnnnrHPNYGLLHa69zx6C0LXIWW/0+RHXA5LJRIYyY/gHqlxD+uBkuVaPS5Nl+gcup HpeH2GSBBdMRbOr5iKt/uOCA1rFOiIVWN2ZeOIqNfmlsWa1hcgoQrew+uzju4dfa36tV fxiovZ2wKXhQynv0wIb9HOwBtnVr9+po30FQe3etV5tgKqsAMcZ3mayx9zfumfcHd5/M XpFA== X-Gm-Message-State: AGRZ1gIV9ypgj8O3wEeEWKXwxQdiMjRgt8SaUTD+2HRi9PprQ3NaDDio aHnBu4x0QFJRhdF6oTUTGqejijf/vcdQ0Q== X-Received: by 2002:a17:902:768b:: with SMTP id m11mr4528241pll.80.1542249250036; Wed, 14 Nov 2018 18:34:10 -0800 (PST) Received: from mba13.psav.com ([64.114.255.97]) by smtp.gmail.com with ESMTPSA id v185-v6sm27323393pfv.48.2018.11.14.18.34.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 18:34:09 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 14 Nov 2018 18:33:40 -0800 Message-Id: <20181115023353.20159-8-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181115023353.20159-1-ard.biesheuvel@linaro.org> References: <20181115023353.20159-1-ard.biesheuvel@linaro.org> Subject: [edk2] [PATCH edk2-staging 07/20] IntelUndiPkg/XGigUndiDxe: drop definition of gImageHandle 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: kamil.kacperski@intel.com, eric.jin@intel.com, pawel.orlowski@intel.com, michael.d.kinney@intel.com, harry.l.hsiung@intel.com MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Remove duplicate definition of gImageHandle, which is emitted by the build tools as well. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- IntelUndiPkg/XGigUndiDxe/Init.c | 2 -- 1 file changed, 2 deletions(-) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Ryszard Knop diff --git a/IntelUndiPkg/XGigUndiDxe/Init.c b/IntelUndiPkg/XGigUndiDxe/Init.c index 84e06ea071c5..03e3942a1944 100644 --- a/IntelUndiPkg/XGigUndiDxe/Init.c +++ b/IntelUndiPkg/XGigUndiDxe/Init.c @@ -47,7 +47,6 @@ UINT16 mActiveChildren = 0; EFI_EVENT gEventNotifyExitBs; EFI_EVENT gEventNotifyVirtual; -EFI_HANDLE gImageHandle; EFI_SYSTEM_TABLE *gSystemTable; EFI_GUID gEfiNiiPointerGuid = EFI_NII_POINTER_PROTOCOL_GUID; @@ -502,7 +501,6 @@ InitializeXGigUndiDriver ( { EFI_STATUS Status; - gImageHandle = ImageHandle; gSystemTable = SystemTable; Status = EfiLibInstallDriverBinding (ImageHandle, SystemTable, &gUndiDriverBinding, ImageHandle);