From mboxrd@z Thu Jan 1 00:00:00 1970 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 18C85C54EE9 for ; Tue, 20 Sep 2022 23:44:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231240AbiITXot (ORCPT ); Tue, 20 Sep 2022 19:44:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbiITXos (ORCPT ); Tue, 20 Sep 2022 19:44:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1098311827 for ; Tue, 20 Sep 2022 16:44:38 -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 ams.source.kernel.org (Postfix) with ESMTPS id 93864B82DA2 for ; Tue, 20 Sep 2022 23:44:37 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E70B7C433D7; Tue, 20 Sep 2022 23:44:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663717476; bh=AV7za8TpXjMgf6rejG4N+Zc63R8iC6vGVEWoz59uRMk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Og7chGQpJjNv2WZqHUOwlXaOxSVBx8IB5hzSSEANDVZiMZC3MoaOJaHCvQlCyYT2i dHXik4dUoKPncxi6Arl75hkMM+Ckxi5zEGiszmtCfGud0d9HtJKwpwxrCurF3cWL9F GodZzfaiIxS9T0pZQzt8hjvZi8kNjmeyFpljz8qpSoBx6ImKgaC4C954T5eRMQEbRM VUr9jovSbucvMYncYquToHL/ME7JzEZjhaRwXE9tLP/cNqZiIMs1qYEKUzxh02aUNh lObM47gctkpg3Gp4TZsP1akbzOzEk7q5nNIs8N6fHL57lPEYCh1COyLPICIMwGRMHM TVHiN3YGUt2vA== Date: Tue, 20 Sep 2022 16:44:35 -0700 From: Jakub Kicinski To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: "David S. Miller" , Eric Dumazet , Paolo Abeni , netdev@vger.kernel.org, kernel@pengutronix.de, Yasuaki Ishimatsu Subject: Re: [PATCH] net: fjes: Reorder symbols to get rid of a few forward declarations Message-ID: <20220920164435.55c026d3@kernel.org> In-Reply-To: <20220917225142.473770-1-u.kleine-koenig@pengutronix.de> References: <20220917225142.473770-1-u.kleine-koenig@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Sun, 18 Sep 2022 00:51:42 +0200 Uwe Kleine-K=C3=B6nig wrote: > Quite a few of the functions and other symbols defined in this driver had > forward declarations. They can all be dropped after reordering them. >=20 > This saves a few lines of code and reduces code duplication. >=20 > Signed-off-by: Uwe Kleine-K=C3=B6nig Any reason why do this? There's a ton of cobwebbed code with pointless forward declarations. Do you have the HW and plan to work on the driver?