Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp951013rwd; Tue, 16 May 2023 09:40:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gAmHpoXA2xkfgTkBAYyMZO5smii8whfvVoIoJ3u9F4/xDDqJXYxiEiKFi12aqqezTdtL+ X-Received: by 2002:a05:6a20:8e09:b0:100:9eff:9b95 with SMTP id y9-20020a056a208e0900b001009eff9b95mr40199808pzj.18.1684255221142; Tue, 16 May 2023 09:40:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684255221; cv=none; d=google.com; s=arc-20160816; b=AL+bbO+6KKw/C2Q6Lrhnld6lX7pTWpcchrkDV3yVPU1HzQue3HoCcJXx27WU33aNw3 Zsu4Ux9hd0VJYNduwcdCKYfLLke32Ie4xC3Sb4JfCG6T5JG65a3Lyv2b7qjCf2xmpn8y sI8BsmwSY5jqQsIgLa/Cz/3bZxxRLMZuGx5+JUIkO8mIw3lO5n2W9JAlG+RDKTdlRiWa ofvh/5zKS7Lu9sySP09+bcKErwCZ4D2bpdDK9e/PeFBpMJ1zJja8yyHJBbx69oLctLmn 1hz87yljvlsgAZP/hY6XlY4KheBNW0aA+zcDvZY6HY0Q2z4QpDgYU1dAA+bUQExBlSG9 u4lA== 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=Uighe2MJl9yCP9/daoYtGOQ9P01aVBh946aqBbx2U6o=; b=0/h3et+e+PgKQJSqCDWQpD9P3VpLmQsXxeSg/d39uDTwQxfEFZvd8pBYr1xxRKcRTy zIoeS+KRH5ThNBRKbQL9oqEq1/ylr+Ihr96GjUQDcvjpT+N/kw1GuSd9Yo6LN39HjZnn RVi7YfoaMhGcihEaAXk7mDu8LwoJgk3df53GWbxqqL+lfAXmkMEktGsKFnZVGaXIzZEH lX9fPJuOwykfq8y+b708pRJdeFD4XwH3nwl1m1BXX/pLyf/l1I6LhCy50XJBu19yN37T toOYkUqFWobvjl3l1u3q2J/niY86sMcgTd/YqePNTtPufrYD6xH9huy4sn7dy8OSeCP6 veUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=GnZQ+fpK; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a6566c6000000b0052501cedc33si18214994pgw.661.2023.05.16.09.40.05; Tue, 16 May 2023 09:40:21 -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=GnZQ+fpK; 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 S231135AbjEPQau (ORCPT + 99 others); Tue, 16 May 2023 12:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230440AbjEPQ3v (ORCPT ); Tue, 16 May 2023 12:29:51 -0400 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 997D52681 for ; Tue, 16 May 2023 09:29:38 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20230516162926euoutp0293b8c4546dcaaf966c42eb26e6496ca5~frJq0Jtp22601326013euoutp02A for ; Tue, 16 May 2023 16:29:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20230516162926euoutp0293b8c4546dcaaf966c42eb26e6496ca5~frJq0Jtp22601326013euoutp02A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1684254566; bh=Uighe2MJl9yCP9/daoYtGOQ9P01aVBh946aqBbx2U6o=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=GnZQ+fpKbYmO9psOZUljI6jzW1HogCxpi1KxB/CSpC/y1T/DXxi4eSEtZ22zj9ixl EcS2YqSaxHIEM1vBh9wf0wbVG2xNWQEclSXPmMOoZpZhfROIE/JX+Z06o8YylLICcD z4L+awvz3MVeTLhavRnKjuPANTh8SM+8aa+u9hIE= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20230516162925eucas1p2ba41bba44aaf1d50540463cc05ed866f~frJqh23Nk1677416774eucas1p2y; Tue, 16 May 2023 16:29:25 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 4F.C3.42423.56FA3646; Tue, 16 May 2023 17:29:25 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20230516162924eucas1p210b95df5fd4229aeaa5cb41d6d873f3d~frJpep6b_1671116711eucas1p2u; Tue, 16 May 2023 16:29:24 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230516162924eusmtrp1e9c208a93cae3a4e19486cee9a86e8e0~frJpeISpr2056220562eusmtrp1G; Tue, 16 May 2023 16:29:24 +0000 (GMT) X-AuditID: cbfec7f2-a51ff7000002a5b7-c1-6463af65a6f6 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 62.57.10549.46FA3646; Tue, 16 May 2023 17:29:24 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230516162924eusmtip1879164ba7cfddefcb079a7c5106882d0~frJpTzmpT2290922909eusmtip1i; Tue, 16 May 2023 16:29:24 +0000 (GMT) Received: from localhost (106.210.248.56) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 16 May 2023 17:29:23 +0100 From: Joel Granados To: CC: Kees Cook , , Iurii Zaikin , , Sudip Mukherjee , Joel Granados Subject: [PATCH v3 5/6] parport: Removed sysctl related defines Date: Tue, 16 May 2023 18:29:02 +0200 Message-ID: <20230516162903.3208880-6-j.granados@samsung.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230516162903.3208880-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [106.210.248.56] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduzned3U9ckpBvMmaVmc6c612LP3JIvF 5V1z2CxuTHjKaHHg9BRmi2U7/RzYPGY3XGTx2DnrLrvHgk2lHptWdbJ5fN4kF8AaxWWTkpqT WZZapG+XwJUxpXUqa0EPZ8WiZ72MDYxt7F2MnBwSAiYSm0/PZASxhQRWMEqcWh7bxcgFZH9h lDh7eBUzhPOZUWLnrZNwHY37v7JAJJYzSqxs2IZQ1fLzGjuEs4VRoqv3JlgLm4COxPk3d5hB bBEBcYkTpzczghQxCzxllLi3dzVbFyMHh7CAvcTx26Yg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BH RonNx1ghGrYwSnxrOcoCkmAT0JE4/+YOWLOIgLjEidObGUFsZoHHjBJzDsp2MXJwCAvYSxy/ bQpisgioShzYVABSwStgK/H2YD8TxCp5ibbr08E6OQXsJN6v2cQEsdZWYuLyHhaIekGJkzOf sEBMl5do3jqbGcKWkDj44gXU+UoS7RMfQJ1fK/H57zPGCYwis5C0z0LSPgtJ+wJG5lWMIqml xbnpucWGesWJucWleel6yfm5mxiBkbft2M/NOxjnvfqod4iRiYPxEKMEB7OSCG9gX3KKEG9K YmVValF+fFFpTmrxIUZToDcnMkuJJucDYz+vJN7QzMDU0MTM0sDU0sxYSZzXs6AjUUggPbEk NTs1tSC1CKaPiYNTqoGJ9Yoe4+LMY1FVmxz/XeK4aJDMLxC2dk19ZJ1LS9HJ46eTwpQk5/JN tO5OebPg/4L0zHr7nbGH5ZTPXHpYm+Gz4vwlkcLg/bGHV7fwnee5GF659lvWJ+dt9XODRGIY l71fG5Qm5bjax9/L03vp/6+Bt76u71kYo92zuIb5tzxHmtU7Vk2tkJqHHd/KU72y+Rm7O+3/ TJuYqnTQaEes0/WNN2ykSi6mhDM2mop7bzjW6srzWvzVEoeA+0rtboG7j7KXZF/glns9Uc2z Kj70xnKj2Q2ObixT8t0uZ0WxhudWzj5/1DbfVZwndPPboFes+9K0lGz9OJRipdaUxeY6BrZO e/LjWqfV2iimXumLSizFGYmGWsxFxYkAOR9bR0UDAAA= X-CMS-MailID: 20230516162924eucas1p210b95df5fd4229aeaa5cb41d6d873f3d X-Msg-Generator: CA X-RootMTR: 20230516162924eucas1p210b95df5fd4229aeaa5cb41d6d873f3d X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230516162924eucas1p210b95df5fd4229aeaa5cb41d6d873f3d References: <20230516162903.3208880-1-j.granados@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: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Luis Chamberlain --- drivers/parport/procfs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 5a58a7852464..f985248b2c5b 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; -- 2.30.2