diff options
author | Joel Granados <j.granados@samsung.com> | 2023-05-16 18:29:02 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2023-05-16 15:47:07 -0700 |
commit | dc5f2dc791ac83c20f264d7d69811638a07340cc (patch) | |
tree | 5fb7c069557652410fe8142e8a53452ff15e30e5 | |
parent | a83dc07480bc626688fdeb9ff8ae3782af60babe (diff) | |
download | linux-next-dc5f2dc791ac83c20f264d7d69811638a07340cc.tar.gz |
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>
-rw-r--r-- | drivers/parport/procfs.c | 7 |
1 files changed, 0 insertions, 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; |