From patchwork Mon Aug 17 14:55:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Grohne X-Patchwork-Id: 262408 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=-10.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING, SPF_HELO_NONE, SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 F395BC433E1 for ; Mon, 17 Aug 2020 14:56:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id CE16820748 for ; Mon, 17 Aug 2020 14:56:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=intenta.de header.i=@intenta.de header.b="Wht+Dt0t" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728651AbgHQO4H (ORCPT ); Mon, 17 Aug 2020 10:56:07 -0400 Received: from mail.intenta.de ([178.249.25.132]:41296 "EHLO mail.intenta.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729154AbgHQOzd (ORCPT ); Mon, 17 Aug 2020 10:55:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=intenta.de; s=dkim1; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:CC:To:From:Date; bh=IvoLRB1cL9VslVAHQ0cclitr5CrqX9r7frXG63FKJlI=; b=Wht+Dt0tUyl5KWuZxrWIHbUDrYqA0+VPsmsu06ZywH3IQR/B028LzZHhJoHtI8fKGCZjijpX/MBXzAOuN0A7+lJX4zQeJNeJpRKdFANjKzCf0ViScVbAER8eb5d8QenqL6S4MbBiEB2xB9z3uAw+VfUPgj2HJbeFES9lcqIZCVpgVy26gNj/YvoxmTDPiRWKm8E20m+YDkPx0OwSW11TkKaytjD8NzGhNtXsXDGvzF9yNWRuCRczzaY37fObeY10N+sEm0u3yFV2ysfj6EuseV0akZyk6NIrS2QjKx5KZnWaneGmsUTp6WzeaCE6a3cQ/5q2A7YRolEuo9mQ+E80pQ==; Date: Mon, 17 Aug 2020 16:55:20 +0200 From: Helmut Grohne To: Andrew Lunn CC: Woojung Huh , Microchip Linux Driver Support , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Subject: [PATCH v2 0/6] net: dsa: microchip: delete dead code Message-ID: References: <20200725174130.GL1472201@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200725174130.GL1472201@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) X-ClientProxiedBy: ICSMA002.intenta.de (10.10.16.48) To ICSMA002.intenta.de (10.10.16.48) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Andrew Lunn asked me to turn my dead code removal RFC patch into a real one splitting it per member. This is what this v2 series does. Some parts of the RFC patch are already applied via: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b20a6b29a811bee0e44b64958d415eb50436154c All other structure members are read at least once. Helmut Helmut Grohne (6): net: dsa: microchip: delete unused member ksz_port.phy net: dsa: microchip: delete unused member ksz_port.sgmii net: dsa: microchip: delete unused member ksz_port.force net: dsa: microchip: delete unused member ksz_device.last_port net: dsa: microchip: delete unused member ksz_device.regs_size net: dsa: microchip: delete unused member ksz_device.overrides drivers/net/dsa/microchip/ksz8795.c | 2 -- drivers/net/dsa/microchip/ksz9477.c | 8 -------- drivers/net/dsa/microchip/ksz_common.h | 6 ------ 3 files changed, 16 deletions(-)