sysctl: parport remove binary paths
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 18 Oct 2007 10:05:30 +0000 (03:05 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:23 +0000 (14:37 -0700)
commit25398a158d86b993fa5bf36f5a6752134b584d60
tree38a1db45fdeb8cfa691cf6f1b38a762773e5b950
parent0d135a4a8c77f248afd908bc3cf5bd833062589d
sysctl: parport remove binary paths

The sysctl binary paths don't look as if they even code work, .data is not
filled in, and all of the proc_handlers look at extra1 and there is not
strategy routine.

So just kill the binary paths.

In addition this patch removes the setting of extra1 on directories.  It
doesn't look like the parport code ever examines it, and it's bad sysctl form.

[bunk@kernel.org: remove parport_device_num()]
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/parport-lowlevel.txt
drivers/parport/daisy.c
drivers/parport/procfs.c
include/linux/parport.h