summaryrefslogtreecommitdiff
path: root/drivers/parport
diff options
context:
space:
mode:
authorJoel Granados <j.granados@samsung.com>2023-05-23 14:22:17 +0200
committerLuis Chamberlain <mcgrof@kernel.org>2023-05-23 21:43:26 -0700
commit9ad0a4e7c2dd101be78e8621c204cec742ee1ce7 (patch)
tree645abb4c998037ee9f5061e06a0c87c4522ef58c /drivers/parport
parent02ea13480f3ffea36a1f9e549b503402f0b299ca (diff)
parport: Removed sysctl related defines
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>
Diffstat (limited to 'drivers/parport')
-rw-r--r--drivers/parport/procfs.c7
1 files changed, 0 insertions, 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;