Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1641556rwd; Mon, 15 May 2023 00:27:34 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4N0byjpGEs+J6aaRAOhE+9U5CgEa3Q0mHYmeRzhRFEJz7sH/d9bW1j2cq5YDpMelHN+d9B X-Received: by 2002:a17:902:ec8a:b0:1aa:f3c4:7582 with SMTP id x10-20020a170902ec8a00b001aaf3c47582mr45689884plg.31.1684135654427; Mon, 15 May 2023 00:27:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684135654; cv=none; d=google.com; s=arc-20160816; b=qUJMKf/Pztma1QWOOR2KiWmUK75jP6tWIHbPCDZgXmzIILnzdPzq9ildnwnCgLv8T/ kuc17NRJISlcB3s8vDfOzfDw54HyZ6KJdHK7JWSOwKzLhfiEDhrUOsJyPR2qM3iK8Puh mTD6AoueDOOwTLApGMF+XcwB0ZeCpq0gm3RKfHwFG82mIFTLTcUynh39vOaRPQPocRox 3rwProqb/tT2n0YkgUwH7UWuikiG+xmXaN4QYWZ2aMFnpDxu1DqgfrOd7bQpSVIM8RCo p3tizLid3Dd2E1KJspG3DN7z+gM20FG4SZuCCN0EUDLWJUeXZsqpwbQlWDLuHj6p8gb3 z5Pw== 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=VFuEoWb1Dy0exlvcNJiwJDdruaCS+52aQEQy5tudvTA=; b=G3lkwI4JvDSBJ8X8kqwZaQEBKHYuwVmQrGc/LGVKSfswsPWtYBvB3Y+cG2OCgTXVbM XPdNW7FhQOTyg4bqw2UFAENB5aSt4Ug0ge3SzIrWvxMQQjHDOddyuORNUf+TFf/ZZrIv bjOYznOfoXfysZJuP9jIrucsCw5MXiQeEu0rRzZn82/Qre2hrBvR9Le8DMsGDYF0AzSH t6I31MakNzd/rTuQV/mxrqScSc9IZ8pNHwmIgpwLQ+4JNQ2LiT3VoH/LRhoZZf4zBo+Z e1CQXKcCSjiMHc1R8IZqNX2vpd4CEhTqPZgNYE45Zc7Z2IuvDdzUPzsBww9qux9lYPKa MqOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=JiFee9hz; 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 e9-20020a17090301c900b001a6d4eab490si16674600plh.63.2023.05.15.00.27.22; Mon, 15 May 2023 00:27:34 -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=JiFee9hz; 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 S240687AbjEOHP1 (ORCPT + 99 others); Mon, 15 May 2023 03:15:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240645AbjEOHO7 (ORCPT ); Mon, 15 May 2023 03:14:59 -0400 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 443B41700 for ; Mon, 15 May 2023 00:14:58 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20230515071457euoutp016043b2ae668fed07e3c49c8114f94033~fP8QZ8oZH1843718437euoutp01d for ; Mon, 15 May 2023 07:14:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20230515071457euoutp016043b2ae668fed07e3c49c8114f94033~fP8QZ8oZH1843718437euoutp01d DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1684134897; bh=VFuEoWb1Dy0exlvcNJiwJDdruaCS+52aQEQy5tudvTA=; h=From:To:CC:Subject:Date:In-Reply-To:References:From; b=JiFee9hz+KP8Fh/s5tpUlVnA27nXki66irZl29Aybv9PFUdoQtuq4dPZ5uHG2ZB/6 m1LZJWGQUWfLxQukOCI/x6uLRxqmFbayk9BBlL9o6EGz3E5TcFCj4t/uYA2dO9OeKw /JfFcnHfWWRf5n9BE0WLWOHeSzOz7WtaWTcX0W1s= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20230515071456eucas1p1032e87fe11d6ea05f069fd476c955295~fP8Pxf85F2871128711eucas1p14; Mon, 15 May 2023 07:14:56 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id BF.71.42423.0FBD1646; Mon, 15 May 2023 08:14:56 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230515071456eucas1p1e92a011498b7f3ca2e02cdc8f0d39415~fP8PdjBX20316603166eucas1p1k; Mon, 15 May 2023 07:14:56 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20230515071456eusmtrp2266c3fff24ea8edab25772245f77e218~fP8Pc9tza2610526105eusmtrp2P; Mon, 15 May 2023 07:14:56 +0000 (GMT) X-AuditID: cbfec7f2-a3bff7000002a5b7-9d-6461dbf0f4ff Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id FE.D9.14344.FEBD1646; Mon, 15 May 2023 08:14:56 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20230515071455eusmtip289abcf3633e673dd8b78232d839902f3~fP8PMOnKJ2243722437eusmtip2I; Mon, 15 May 2023 07:14:55 +0000 (GMT) Received: from localhost (106.110.32.133) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 May 2023 08:14:54 +0100 From: Joel Granados To: CC: Sudip Mukherjee , Iurii Zaikin , Kees Cook , , , Joel Granados Subject: [PATCH 5/6] parport: Removed sysctl related defines Date: Mon, 15 May 2023 09:14:45 +0200 Message-ID: <20230515071446.2277292-6-j.granados@samsung.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230515071446.2277292-1-j.granados@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [106.110.32.133] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuphleLIzCtJLcpLzFFi42LZduznOd0PtxNTDPY2iFic6c612LP3JIvF 5V1z2CxuTHjKaHHg9BRmi2U7/RzYPGY3XGTx2DnrLrvHgk2lHptWdbJ5fN4kF8AaxWWTkpqT WZZapG+XwJXx9dAp1oKbHBU3OpqZGxhvsHUxsnNICJhILFbtYuTiEBJYwSjx88N/NgjnC6NE 78ovjBDOZ0aJ1f0fgDKcYA37v3+GSixnlJg0vYEVrurrp4XsEM4WRol3zR2sIC1sAjoS59/c YQaxRQTEJU6c3gzWzizwlFFi7r9eJpCEsICNxMZf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nf5kgnC2MEhPfnQIbxSagI3H+zR1mEFtEQFzixOnNYGOZBZ4CdRx6ygSSEBawkdj46wc7 iM0ioCrxcd50sBW8ArYS5/rWQt0kL9F2fTojiM0pYCexbv9RsF4hoJrTu7ZB1QtKnJz5BOxU ZqD65q2zmSFsCYmDL14wQ8xRkvj6phfqhVqJz3+fMU5gFJmFpH0WkvZZSNoXMDKvYhRJLS3O Tc8tNtIrTswtLs1L10vOz93ECIzAbcd+btnBuPLVR71DjEwcjIcYJTiYlUR422fGpwjxpiRW VqUW5ccXleakFh9iNAX6cyKzlGhyPjAF5JXEG5oZmBqamFkamFqaGSuJ83oWdCQKCaQnlqRm p6YWpBbB9DFxcEo1MC0KW938SNlh/ryFfFL3jLf3ZNi1HOu18/mv173yaYbW230v+4Lvxrj6 1t+6+eDZ/arfYWmHRP0PK0gvMak6rKB9i8Oyc+bHd2+5as+4b1k5O5y77J/91hTldlMeVuY8 ba3nwXPizzF2xlae1dWWK2d+1sS/+t8vsUbxCaoXE+5OX34wVfzi0f86rj2cU7OZJZcdlonZ tIi5qJ87b+PiYrEFB3+4bj35NZ6PQ65t8rW0V3utd01lD9/Q7Vb0Uzw2bpb36/jlv49tnHim kVP72WJ5QY6UJQf+P3vlsyqp40bnJAb9Ez3+F4Q63BTZ4g480G8//EBZc9vFiyrZ8T9jPd95 Gs+P5F6++0izr8yrCCWW4oxEQy3mouJEAC+FTjtJAwAA X-CMS-MailID: 20230515071456eucas1p1e92a011498b7f3ca2e02cdc8f0d39415 X-Msg-Generator: CA X-RootMTR: 20230515071456eucas1p1e92a011498b7f3ca2e02cdc8f0d39415 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230515071456eucas1p1e92a011498b7f3ca2e02cdc8f0d39415 References: <20230515071446.2277292-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 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 --- drivers/parport/procfs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/parport/procfs.c b/drivers/parport/procfs.c index 56f825fcfae6..e3f773ea6b4f 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