Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 90E59C433EF for ; Sat, 11 Sep 2021 14:15:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6F91061206 for ; Sat, 11 Sep 2021 14:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235934AbhIKOQ6 (ORCPT ); Sat, 11 Sep 2021 10:16:58 -0400 Received: from cloud.peff.net ([104.130.231.41]:44864 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235331AbhIKOQ6 (ORCPT ); Sat, 11 Sep 2021 10:16:58 -0400 Received: (qmail 12320 invoked by uid 109); 11 Sep 2021 14:15:45 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Sat, 11 Sep 2021 14:15:45 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 20545 invoked by uid 111); 11 Sep 2021 14:15:44 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Sat, 11 Sep 2021 10:15:44 -0400 Authentication-Results: peff.net; auth=none Date: Sat, 11 Sep 2021 10:15:44 -0400 From: Jeff King To: =?utf-8?B?UmVuw6k=?= Scharfe Cc: Ben Boeckel , Git List , Junio C Hamano Subject: Re: [PATCH] compression: drop write-only core_compression_* variables Message-ID: References: <6ed7da24-81d0-0b5e-dca3-664d2c773474@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6ed7da24-81d0-0b5e-dca3-664d2c773474@web.de> Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Sat, Sep 11, 2021 at 01:45:43PM +0200, René Scharfe wrote: > Since 8de7eeb54b (compression: unify pack.compression configuration > parsing, 2016-11-15) the variables core_compression_level and > core_compression_seen are only set, but never read. Remove them. This makes sense, but it seemed weirdly familiar. It looks like something similar was part of this series: https://lore.kernel.org/git/20210731024221.2113906-1-mathstuf@gmail.com/ which seems to have slipped through the cracks (and has several other cleanups). Maybe we can resurrect it (though I think your cleanup of the related "seen" variable here means we should take this in the meantime). -Peff