]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitefe0b5ec23ff13c9663b47aaf0a482b530c586d9
tree38a1db45fdeb8cfa691cf6f1b38a762773e5b950
parent75094b6b922f6cdc1a3c5e345742ed50e9c673d1
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