From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: AJdET5f0jyoGdryusyydh7vQaxesF4G7st2JQjAOK6zlt4FjHmH+45PeG/Rn+uAw+bg8WhOhYSnKXg== 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 Cc: leif.lindholm@linaro.org, maciej.rabeda@intel.com, kamil.kacperski@intel.com, pawel.orlowski@intel.com, philmd@redhat.com, michael.d.kinney@intel.com, harry.l.hsiung@intel.com, eric.jin@intel.com, Ard Biesheuvel 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: [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: , X-List-Received-Date: Thu, 15 Nov 2018 02:34:10 -0000 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(-) 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); -- 2.17.1