]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: pcmuio: tidy up switch_page()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 18 Jun 2013 20:21:13 +0000 (13:21 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Jun 2013 22:50:38 +0000 (15:50 -0700)
commit46317da71ee85dccc351735e8b463123f4d448a3
tree17403fd9ddd6c190b17a19178517efe595a02080
parentf45a1f26eae4cadbfeb65b4b36bfa3583f694066
staging: comedi: pcmuio: tidy up switch_page()

All the I/O ports are left unlocked in the driver so the 'pagelock'
in the private data is not necessary. The paranoia sanity checks
are also unnecessary, Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/pcmuio.c