Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp999633rwi; Wed, 19 Oct 2022 05:39:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6s9DYAPT8nLP1/FsrLG3t1kj4kd+S95ZYO9juAQg/c1g8krYp2de0eL0bIGbcgiXPOWFUo X-Received: by 2002:a17:90b:38d1:b0:20d:8f2a:c4c4 with SMTP id nn17-20020a17090b38d100b0020d8f2ac4c4mr43056948pjb.192.1666183180424; Wed, 19 Oct 2022 05:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666183180; cv=none; d=google.com; s=arc-20160816; b=LD/pauopNXXK22TkM39QaRPOng7xzgr5obF6BRzIv6YgR0YxozIXEqyrw/j2pwGsJN 0cCVM/GtnaVlrDOA1jPpFJfJZSW5hIHXAI5dtpskR/P236vpJVaXDrZ04+0j3TB5+bBn vHhQ0vHeKxy8i1DOXhQmnHwxbPW6aNudT48NSZqZxeOv3cHbRNlIzaJ8HyvTdbeDIhmY HNoqr4UPl3YQGuDuMQm1BgH2W3KWTBEOpnXorED0DK9tMN5eTR5K+Xn5Yyq88TytL8vt ROpyxL5TcUvwZPs3IX1NWBP3bpPNH7BmsO7Q4iXfHNkmZzIiYBWdpRKsKSodWJ/oUc09 ynlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xws8xFXwM1KyPnBLrh1r+q3lBJxGn8b72mAASi9/amU=; b=hUYrzMbNCqGX9UwXEzAUNMbnxAc+/QMwdrUXKAczuW3z2hQJwXjud/UI+HIhxyayBk +AXKMmIEDYa9dldg8GC32zf/Ji1Bbswtbv0H8K0rzQd0ZklZEYfhwW5MIwGEPogqzglm QY5PzT0acALgr98b8KKzeui3ZUdNiRLXdWUOEe3PVSKp7izwBvyKxl3ItpiU82MlJeIW 17Ljp3yRIpPuTtUu9zG4w8RzyvPsg2t7x8nqHR+wIaZ+jV1QJ47psvq2PrJxEFQZsPdo asjg9m7+rJJ35aTty9jWW6QKAhFaaCh7en15YzH8Zy+aIS/Zfj69X2wic1HDdQtWRuuL vriQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QIoDHfQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p14-20020a63fe0e000000b0043cd68f1223si19093326pgh.291.2022.10.19.05.39.28; Wed, 19 Oct 2022 05:39:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=QIoDHfQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231468AbiJSM0G (ORCPT + 99 others); Wed, 19 Oct 2022 08:26:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233948AbiJSMZR (ORCPT ); Wed, 19 Oct 2022 08:25:17 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B57B81C7D61; Wed, 19 Oct 2022 05:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xws8xFXwM1KyPnBLrh1r+q3lBJxGn8b72mAASi9/amU=; b=QIoDHfQoFCCed+6zaJwE3c7Vri 679zySmrP7NeCw0NYuZUUWOYVKL628W5Jo2uoV+mECIa6gfyTeV/ysIAnP6xN00+sH1NaDTd+L/KF 6JowD3VnkG5JDi57/V7dmMHixDFwpKDH8he+7AeGOwwwRZ+JNdc0bmnBiSeIarg+R55AJjLCSGvz7 4EowRtfH7jO1UiVdPGHhNLrPqDsba02CC29bliYwFMFYQZQW5J7aIzYPlikTsv83x5OusqA+36YEH CQLB0HG+pQwM8GI3x7zbeyg6Vhx8aMMl3/2JdMCrcJyXPIXIjP+qIj3lcgEZ49oavruHFPXXRiDUn TTEvniPA==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1ol6nv-000j61-CW; Wed, 19 Oct 2022 11:00:07 +0000 Date: Wed, 19 Oct 2022 04:00:07 -0700 From: Christoph Hellwig To: Giulio Benetti Cc: Arnd Bergmann , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, linux-raid@vger.kernel.org, "Rafael J . Wysocki" , Len Brown , Mark Brown , Song Liu Subject: Re: [PATCH 3/3] raid: substitute empty_zero_page with helper ZERO_PAGE(0) Message-ID: References: <20221018215755.33566-1-giulio.benetti@benettiengineering.com> <20221018215755.33566-3-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221018215755.33566-3-giulio.benetti@benettiengineering.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 18, 2022 at 11:57:55PM +0200, Giulio Benetti wrote: > #if RAID6_USE_EMPTY_ZERO_PAGE > -# define raid6_empty_zero_page empty_zero_page > +# define raid6_empty_zero_page ZERO_PAGE(0) > #else > extern const char raid6_empty_zero_page[PAGE_SIZE]; RAID6_USE_EMPTY_ZERO_PAGE is never set to a non-zero value. So this is dead code and we can just remove all code related to the RAID6_USE_EMPTY_ZERO_PAGE case.