Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2366724rwl; Thu, 6 Apr 2023 09:14:07 -0700 (PDT) X-Google-Smtp-Source: AKy350athj5RBfnE1vQaUjwauHr4+qqh9sLWa7yvkgH/GdoXAR9Fal89XKDT4QLbairBfIBnPrs1 X-Received: by 2002:a17:902:cad1:b0:19c:ca14:59ef with SMTP id y17-20020a170902cad100b0019cca1459efmr9014474pld.34.1680797621534; Thu, 06 Apr 2023 09:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680797621; cv=none; d=google.com; s=arc-20160816; b=GmPTEVtya3+94a1qGIXI9Gsh7J03LYoUZZrZ0lKLk/tMT/sgVPDMmH1VXMsGH3j1XH 0P4msatPKCihiCSe8znzZNzLQFNsjTURh9gyFY8kGNpxtNHHQjWdNR5Dwy/b8aP+0J93 DTuwBJqPOe/GsG5FKKXsvJW8Bn5jQPNVlH98NMj57Y+5sLCj9Fw+0QxV4LtFd9O/E2ZA DdpotiG2n9SR3BswMM0cKM5NXEn5vXtpNQtJJerLLNojfLH4sx1VUsjsoKDIaqe0n9oz 8WZVisAS9C1XSRRGthUmBR/vKrYnP2b10yNG9p6vn0a1DZQYRaGoDO6LRcAgozIT4jQj iq3g== 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=N83G+TTL/2rqQN6MqirvP0lr/SxR6QASPMeAC5aDZuk=; b=Chm9i2Ft5O2KRIqRtu6c1fX3R2EpylbyQES1NtEpsZiwhLPhOwgR+4G5r2PbBiZRxS DMs49896r2OweO0/aMGZRRks5uDtbvaXcYSMTxU6201FBXeOphJE8v36lqddwZ7mUtpC OqOD16QqR0myiGs8Q7kveShe6xHXfOWxBzdNCgP9A6ejIkmY6oE66ZzCZgZEc8zRzWBs RHj0B1ogSLFCrPjIwqX357fFCkVgP87f5nPbe9si8+CtRz8uti1kCSCl9d2XhW7uf02t pNn7NuOlpN3oF/04mwriNqye0eqzE1wZihPN/RL5tcI9i2aJawCSpcCN6tApCTbS3f6o sFCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cSVvcg3z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w16-20020a170902d71000b001a1d6a9c6c0si1951339ply.127.2023.04.06.09.13.17; Thu, 06 Apr 2023 09:13:41 -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=@kernel.org header.s=k20201202 header.b=cSVvcg3z; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239924AbjDFQM5 (ORCPT + 99 others); Thu, 6 Apr 2023 12:12:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54522 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239919AbjDFQMz (ORCPT ); Thu, 6 Apr 2023 12:12:55 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34CA54C39; Thu, 6 Apr 2023 09:12:55 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9FEBF60F2D; Thu, 6 Apr 2023 16:12:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B63EC433EF; Thu, 6 Apr 2023 16:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680797574; bh=f0G5GtMX0Vww/OBGVTVkEPr8cy3Z6qlQlEOKio6hNl4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cSVvcg3zFbmG5sAGzQ/ByO5aATJV9Jy3CgKyWjtejL0e0hiHVolxQUjvfrKNbI788 58wCx9Mpgl0C1GI/r7cJznw69HenWorG+KLMRmlKkb/2s857HcIPYsucgf9k9cvskb w453mC+m6QV/47w4xpKDw/bunrg11fc7K2Xrg/wFFpSnqKOyalGDl97nR5Lx3lPA0X aAk2iN0TXv8s1aJ0AtfJ5NEEptKr+/m3yru6Fee4i6Chl5evcANy2mJnwoa7RP3Vbj O58JOUv8IVELYUF4WthY5mXEUSbkvlVY6R97TTRNQa1Y4/ttYqGKSXEtKA92v4PL4D ngbfD1b//l7Bg== Date: Thu, 6 Apr 2023 18:12:49 +0200 From: Simon Horman To: Jakub Kicinski Cc: Paolo Abeni , "David S. Miller" , Eric Dumazet , Nathan Chancellor , Nick Desaulniers , Tom Rix , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH net-next 2/3] ksz884x: remove unused #defines Message-ID: References: <20230405-ksz884x-unused-code-v1-0-a3349811d5ef@kernel.org> <20230405-ksz884x-unused-code-v1-2-a3349811d5ef@kernel.org> <454a61709e442f717fbde4b0ebb8b4c3fdfb515e.camel@redhat.com> <20230406090017.0fc0ae34@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230406090017.0fc0ae34@kernel.org> X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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 Thu, Apr 06, 2023 at 09:00:17AM -0700, Jakub Kicinski wrote: > On Thu, 06 Apr 2023 15:37:36 +0200 Paolo Abeni wrote: > > On Wed, 2023-04-05 at 10:39 +0200, Simon Horman wrote: > > > Remove unused #defines from ksz884x driver. > > > > > > These #defines may have some value in documenting the hardware. > > > But that information may be accessed via scm history. > > > > I personally have a slight preference for keeping these definitions in > > the sources (for doc purposes), but it's not a big deal. > > > > Any 3rd opinion more then welcome! > > I had the same reaction, FWIW. > > Cleaning up unused "code" macros, pure software stuff makes perfect > sense. But I feel a bit ambivalent about removing definitions of HW > registers and bits. I guess that it two down-votes for removing the #defines. Would it be acceptable if I reworked the series to only remove the dead code - which would leave only subset of patch 3/3 ?