Message ID | 20230523122220.1610825-6-j.granados@samsung.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2105602vqo; Tue, 23 May 2023 05:36:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4aDAqXYL6ACeHarjDqIV33iaeT8VP8NGAhjTJbAFeA3FWg1q1sD406Cpz0lEH1101E/hF9 X-Received: by 2002:a17:902:e5ce:b0:1a2:a904:c42e with SMTP id u14-20020a170902e5ce00b001a2a904c42emr16424988plf.24.1684845363528; Tue, 23 May 2023 05:36:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684845363; cv=none; d=google.com; s=arc-20160816; b=w2fv6z0SO5jZWzA+X0Mi4PTIp7jOnuYP06FlLjl9IDwT5/R9CJlscQe15AorlJsHka r/LW/dal49Z6jyTEztdRJE54UZPbPkZYmZu9p7OaMC5gkVnKIelFDN6aN9BFhr5I7V3t ERA7elDmwzjEFgLO+DqXBBgVOwZiE4Ph19bM6EUr+QYSioPsvE/9FGTfoZ2g2LLKEbvM ugKDeMP0TE0PJ1wdEumyDrIu+WIJkFn3AUZ25ys3YkAJsjwEvfHYjyO4rVWxNcF/0WCu ZOfRwQmjQri3xXb0lvRX5dRhnGE59XDyKjcOXFoVEAMz5BlwUHNEWs4iHS4xzZWYLICE 3NVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :mime-version:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=QqhHAxqdZ9zwu193bF6IzoCs6DWDxorB5tYMiEmfePM=; b=pDy/nUNhizGmKzJHF1L9cRDusszSwpvAat7i2ODNHy6Z6vdNzaRmQJmCbF7Dmh5H98 DAmNiLU9ft1rqOkKTBtBCzJWpIGZGblCAGV+URBcGXg2Fb/90Ba09ILpaR1PCnOp+uut t9MUryfsLmDHSZjqkjghs1+iOY0HK/jSeQKz3CkSMIT3LQ2+Jt95PqhE6NXuaxm3JbKf 1orkQnXyOxMAiPWXvS+Yjmo/4/07UHBNBRWuYy+8wUQ/137YOU16EJP5OIsqmP5h0Oyo t7ax24hwvKO7fJ3+5dWVuma3zZ/j0LodwiWrrpapn+hgMW8+LX9wopccBRdqY2SOV0xw LCpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=RPx54jD6; 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=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m6-20020a170902db8600b001aaf5dcd774si574236pld.173.2023.05.23.05.35.48; Tue, 23 May 2023 05:36:03 -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=@samsung.com header.s=mail20170921 header.b=RPx54jD6; 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=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236865AbjEWMXC (ORCPT <rfc822;ahmedalshaiji.dev@gmail.com> + 99 others); Tue, 23 May 2023 08:23:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236807AbjEWMWh (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 23 May 2023 08:22:37 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396ABDB for <linux-kernel@vger.kernel.org>; Tue, 23 May 2023 05:22:35 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20230523122234euoutp02cf90eaa02853b4c1837028c139731757~hxTH8YgZo1935319353euoutp02M for <linux-kernel@vger.kernel.org>; Tue, 23 May 2023 12:22:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20230523122234euoutp02cf90eaa02853b4c1837028c139731757~hxTH8YgZo1935319353euoutp02M DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1684844554; bh=QqhHAxqdZ9zwu193bF6IzoCs6DWDxorB5tYMiEmfePM=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=RPx54jD6tED1Tft6UIeXuw/GhU8Q5UFG3cFrROA6OtLM33S1bZ8H8xbhiUh4OGeej CdycuRWhzxL9pSUaYH4HxTyGbVo4IS4A/61Ad14oh6lnuKC5t1rz2VVTuL5eFR6o/T oT5ntZBeVi74DGnkklqwkIOK7ZNlyYfGjL+nMiwE= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20230523122233eucas1p19b3effbf7c26fea6a587059aa3ffd7dc~hxTHrDLwU1810218102eucas1p1V; Tue, 23 May 2023 12:22:33 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 4B.16.11320.900BC646; Tue, 23 May 2023 13:22:33 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230523122233eucas1p1cb488b94dc2449b3bd0314b1f536a6e9~hxTHWdCVh2731327313eucas1p1-; Tue, 23 May 2023 12:22:33 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230523122233eusmtrp26992cefa0f96faee69ec101d2242b608~hxTHVx4bn0682206822eusmtrp2T; Tue, 23 May 2023 12:22:33 +0000 (GMT) X-AuditID: cbfec7f4-97dff70000022c38-a0-646cb009b381 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 9D.BF.10549.900BC646; Tue, 23 May 2023 13:22:33 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230523122233eusmtip10cbbd9f4c983e0e1296a2d4a9227bbe4~hxTHMp4Nr0731007310eusmtip1U; Tue, 23 May 2023 12:22:33 +0000 (GMT) Received: from localhost (106.210.248.82) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 23 May 2023 13:22:32 +0100 From: Joel Granados <j.granados@samsung.com> To: <mcgrof@kernel.org> CC: Christian Brauner <brauner@kernel.org>, Kees Cook <keescook@chromium.org>, Joel Granados <j.granados@samsung.com>, <linux-fsdevel@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Iurii Zaikin <yzaikin@google.com>, Alexander Viro <viro@zeniv.linux.org.uk>, Sudip Mukherjee <sudipm.mukherjee@gmail.com> Subject: [PATCH v4 5/8] parport: Removed sysctl related defines Date: Tue, 23 May 2023 14:22:17 +0200 Message-ID: <20230523122220.1610825-6-j.granados@samsung.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230523122220.1610825-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [106.210.248.82] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H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ptes8OG29LfTnmS 07/0gixfmjtHyM/+4qkKoS2CqkEtivkPT9oaS9srsRRnJBpqMRcVJwIA+pBZ+FgDAAA= X-CMS-MailID: 20230523122233eucas1p1cb488b94dc2449b3bd0314b1f536a6e9 X-Msg-Generator: CA X-RootMTR: 20230523122233eucas1p1cb488b94dc2449b3bd0314b1f536a6e9 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230523122233eucas1p1cb488b94dc2449b3bd0314b1f536a6e9 References: <20230523122220.1610825-1-j.granados@samsung.com> <CGME20230523122233eucas1p1cb488b94dc2449b3bd0314b1f536a6e9@eucas1p1.samsung.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1766688412074918503?= X-GMAIL-MSGID: =?utf-8?q?1766688412074918503?= |
Series |
sysctl: Completely remove register_sysctl_table from sources
|
|
Commit Message
Joel Granados
May 23, 2023, 12:22 p.m. UTC
The partport driver used to rely on defines to include different directories in sysctl. Now that we have made the transition to register_sysctl from regsiter_sysctl_table, they are no longer needed. Signed-off-by: Joel Granados <j.granados@samsung.com> Reviewed-by: Luis Chamberlain <mcgrof@kernel.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org> --- drivers/parport/procfs.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 1a26918d2cc8..cbb1fb5127ce 100644 --- a/drivers/parport/procfs.c +++ b/drivers/parport/procfs.c @@ -243,13 +243,6 @@ do { \ return 0; } -#define PARPORT_PORT_DIR(CHILD) { .procname = NULL, .mode = 0555, .child = CHILD } -#define PARPORT_PARPORT_DIR(CHILD) { .procname = "parport", \ - .mode = 0555, .child = CHILD } -#define PARPORT_DEV_DIR(CHILD) { .procname = "dev", .mode = 0555, .child = CHILD } -#define PARPORT_DEVICES_ROOT_DIR { .procname = "devices", \ - .mode = 0555, .child = NULL } - static const unsigned long parport_min_timeslice_value = PARPORT_MIN_TIMESLICE_VALUE;