From patchwork Fri Jun 10 09:00:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Javier Martinez Canillas X-Patchwork-Id: 581030 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C9F2FC43334 for ; Fri, 10 Jun 2022 09:00:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347200AbiFJJAi (ORCPT ); Fri, 10 Jun 2022 05:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242403AbiFJJAh (ORCPT ); Fri, 10 Jun 2022 05:00:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 2DAB665A0 for ; Fri, 10 Jun 2022 02:00:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1654851634; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ukK3D5FOT/lVXAY3CQ/ZTU+kRLHSqaAf/1KzQyUA/fo=; b=GOu1LxGTV2aJdv0dirBVgxTQooieaSq14reWZVLt/1+FcdqQeyPueyvP5gggpP9KBIqVtS /MX67uRYwk/YA10SZw3J0STSJHzQCTx1Vfb4MLERlf31WNN8+BFlkE1piJORrH6OkF5eCn VU3OE5OXYl/4eVhZhZoSjy+GtGOTG/0= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-357-L0rSa0NIPPOXuH0GgBi9hQ-1; Fri, 10 Jun 2022 05:00:32 -0400 X-MC-Unique: L0rSa0NIPPOXuH0GgBi9hQ-1 Received: by mail-wr1-f70.google.com with SMTP id q14-20020a5d61ce000000b00210353e32b0so5981035wrv.12 for ; Fri, 10 Jun 2022 02:00:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ukK3D5FOT/lVXAY3CQ/ZTU+kRLHSqaAf/1KzQyUA/fo=; b=m+ZC6Dg7T+LPlVUoVHbH/Aon6owkR8X7jxzJj//Er/DCk3/gZorCeBesV0TW9MIPTw eexs/25o2/uV29Id82yZZzVhAzm6pIrBXpElnUFNJx8BL7KJJdDKgpuIFMAsyPxRhnrG Bxrl+mk6/LwrqTVdlIZHUmtpPJ8huByvwyFVQAzJAjZVcx21/+dA5FzQ54flLghMZe4C SAI/nJInbH6W/+TmZBAUuGT03qmFV5KdvWL2ZGA4wZr5QXRXEF1NMyXShBiEdH+eVwiT +mbKDePp2mvkjc5JJTTYX4k0Q0ARr1EfEG3s8YD7vDPGsIiiQaJ9Cg3Vh8CJpH0lBdS9 ribA== X-Gm-Message-State: AOAM531crTKIa0fpHqxYe8AGc8Q4XNdYBloXMpDkDWC829o/5TSKwhyo AhSBJs77uNNmnzBAFZ6e8Gfx/DLnjFrqN5PO1eUmWQ64HQYOOBulekezH1qCkMGjh5yhLQTPvhi fThVL94mearRQupmlCC9a X-Received: by 2002:a05:600c:4e54:b0:39c:6e5e:c667 with SMTP id e20-20020a05600c4e5400b0039c6e5ec667mr6753178wmq.151.1654851631574; Fri, 10 Jun 2022 02:00:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMkBzMN6zqmh3ItL1DEVgtjb5YNjsnmi9WVMAPERuUJTVsqu+6f1r+Qr2+wxO0IT9zUq3CNg== X-Received: by 2002:a05:600c:4e54:b0:39c:6e5e:c667 with SMTP id e20-20020a05600c4e5400b0039c6e5ec667mr6753151wmq.151.1654851631352; Fri, 10 Jun 2022 02:00:31 -0700 (PDT) Received: from minerva.home (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id i8-20020a5d5588000000b00219e4ebf549sm1711792wrv.56.2022.06.10.02.00.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jun 2022 02:00:30 -0700 (PDT) From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: Stephen Rothwell , Javier Martinez Canillas , Ard Biesheuvel , linux-efi@vger.kernel.org Subject: [PATCH] efi: sysfb_efi: remove unnecessary include Date: Fri, 10 Jun 2022 11:00:05 +0200 Message-Id: <20220610090005.1358402-1-javierm@redhat.com> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org Nothing defined in the header is used by drivers/firmware/efi/sysfb_efi.c but also, including it can lead to build errors when built on arches that don't have an asm/efi.h header file. This can happen for example if a driver that is built when COMPILE_TEST is enabled selects the SYSFB symbol, e.g. on powerpc with allyesconfig: drivers/firmware/efi/sysfb_efi.c:29:10: fatal error: asm/efi.h: No such file or directory 29 | #include | ^~~~~~~~~~~ Reported-by: Stephen Rothwell Signed-off-by: Javier Martinez Canillas --- drivers/firmware/efi/sysfb_efi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/firmware/efi/sysfb_efi.c b/drivers/firmware/efi/sysfb_efi.c index 4c7c9dd7733f..7882d4b3f2be 100644 --- a/drivers/firmware/efi/sysfb_efi.c +++ b/drivers/firmware/efi/sysfb_efi.c @@ -26,8 +26,6 @@ #include #include