Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2280981pxx; Sat, 31 Oct 2020 14:43:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz9Qor/5QvwdYkqU/prioN+llpkBhUjAhgMNvlJzsmVeCTmITZW8DljCTudT+kamuEO/FMV X-Received: by 2002:a50:8a88:: with SMTP id j8mr9341702edj.179.1604180617048; Sat, 31 Oct 2020 14:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604180617; cv=none; d=google.com; s=arc-20160816; b=CoPDSFkR86zyCqPlx35YRh++LhQg2tA6Hx2kiUdOznWhOl2HHIHj8Xuz2l8F+RohCa kpZHxiyI8+gr6GxU6owgQTE8iH8mBfmLwCPkkUnmuqHroiAiK7/QLHUC7fxWrVi/Fnwa gBWIoexOOQDUwf8B8G7vSmS46+G/Hf9hq2NxZTEkgRn3FxSLiNwmWPehVslNEx0s32Mc 9D8dU2F/4w+KW+rPSjLPyXHjG6+7ugfr9/sWw/3ckOZSRxOz2FWlt8OhNq64wL9O8dKj HFOahkY8KmyvMxSChY2LUkugxJJtgdeq7eoxmvvqo/K+XOWeYkkaEeUhoZxXdPBlApfJ rhXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kW3/BzPiLN4k28uIWz98rQtpZnEpLlYl9A7ZqeY/ThE=; b=yAEndQCrPrPSCAn7oYh7L0+lPksN4Cyap/iGmXuKWADYa93QfFQ+a9sj7WrdgzpjKa 4WLa8KdRXfsAUbJfhWvVvmmNlYoIKMF9gYoZV1BnBuA51wmZq6Q1ZTMbWGmUVagme0iE mrO8/lsjVVOjYRMiJQedE7+iAv+pAW/aUrDYyWwuHfDjGcBJQgpWHoIKArEeQ6R7qp/M VbS0RcMYm4mici/5XE1Z9zHisjM3lxXFKJo3JgVz3rH7JaiWoA86TInhiUX7HmVzBxlm 76z9k0TKwjQwDe7QnnlITKpV1j8hbopvzaHdsiv9+daGt18qBated7TQjnhTAMRKmROR sj7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qIyVT/60"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w6si8225569edf.136.2020.10.31.14.43.14; Sat, 31 Oct 2020 14:43:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="qIyVT/60"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726345AbgJaVls (ORCPT + 99 others); Sat, 31 Oct 2020 17:41:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:59980 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgJaVlr (ORCPT ); Sat, 31 Oct 2020 17:41:47 -0400 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 24DD92076D; Sat, 31 Oct 2020 21:41:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604180507; bh=C1phg8mElzHBrp6jWm/P3Py/2QR/sFCWl19as/wD9cQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qIyVT/60Y18+c2u9JEdyJJso6ZZXJqO3aw2RgDG5XI1HRnV8zVT8kKrEUubQleG0E l1TZdQzVPE8+xbvSyuJvRajFYDdXR7PwdF1JllbYFyjKoTGx6bcmhaeGfE9vc/WaHI MEQlMW64WXnS8tq8JdbRyJBHzorKqD6pVL5iW0rs= Received: by mail-qk1-f176.google.com with SMTP id b18so8291178qkc.9; Sat, 31 Oct 2020 14:41:47 -0700 (PDT) X-Gm-Message-State: AOAM531L+pCDL6b9SHKmrAVy8aX9gc7l8laQQvyH8zjUE8AacT+CPDWn 1wW3GmRHv+7iQIe+IJjmbJ7tYP/BrRv34tPG16c= X-Received: by 2002:a37:4e57:: with SMTP id c84mr8539711qkb.394.1604180506363; Sat, 31 Oct 2020 14:41:46 -0700 (PDT) MIME-Version: 1.0 References: <20201028070504.362164-1-xie.he.0141@gmail.com> <20201030200705.6e2039c2@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <20201031095146.5e6945a1@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> In-Reply-To: <20201031095146.5e6945a1@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> From: Arnd Bergmann Date: Sat, 31 Oct 2020 22:41:30 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next] net: dlci: Deprecate the DLCI driver (aka the Frame Relay layer) To: Jakub Kicinski Cc: Xie He , Arnd Bergmann , "David S. Miller" , Linux Kernel Network Developers , LKML , Lee Jones , "Gustavo A. R. Silva" , Krzysztof Kozlowski , Krzysztof Halasa Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Oct 31, 2020 at 5:53 PM Jakub Kicinski wrote: > > On Fri, 30 Oct 2020 22:10:42 -0700 Xie He wrote: > > > The usual way of getting rid of old code is to move it to staging/ > > > for a few releases then delete it, like Arnd just did with wimax. > > > > Oh. OK. But I see "include/linux/if_frad.h" is included in > > "net/socket.c", and there's still some code in "net/socket.c" related > > to it. If we move all these files to "staging/", we need to change the > > "include" line in "net/socket.c" to point to the new location, and we > > still need to keep a little code in "net/socket.c". So I think if we > > move it to "staging/", we can't do this in a clean way. > > I'd just place that code under appropriate #ifdef CONFIG_ so we don't > forget to remove it later. It's just the dlci_ioctl_hook, right? > > Maybe others have better ideas, Arnd? I think it can just go in the bin directly. I actually submitted a couple of patches to clean up drivers/net/wan last year but didn't follow up with a new version after we decided that x.25 is still needed, see https://lore.kernel.org/netdev/20191209151256.2497534-1-arnd@arndb.de/ I can resubmit if you like. Arnd