Skip to content

Commit 9ad0a4e

Browse files
Joelgranadosmcgrof
authored andcommitted
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>
1 parent 02ea134 commit 9ad0a4e

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

drivers/parport/procfs.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,6 @@ do { \
243243
return 0;
244244
}
245245

246-
#define PARPORT_PORT_DIR(CHILD) { .procname = NULL, .mode = 0555, .child = CHILD }
247-
#define PARPORT_PARPORT_DIR(CHILD) { .procname = "parport", \
248-
.mode = 0555, .child = CHILD }
249-
#define PARPORT_DEV_DIR(CHILD) { .procname = "dev", .mode = 0555, .child = CHILD }
250-
#define PARPORT_DEVICES_ROOT_DIR { .procname = "devices", \
251-
.mode = 0555, .child = NULL }
252-
253246
static const unsigned long parport_min_timeslice_value =
254247
PARPORT_MIN_TIMESLICE_VALUE;
255248

0 commit comments

Comments
 (0)