]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: remove check for CONFIG_KMOD
authorPaul Bolle <pebolle@tiscali.nl>
Mon, 26 May 2014 19:09:10 +0000 (21:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 03:19:27 +0000 (20:19 -0700)
commitdbec51b5e6fd09052784beeda3e31e7035e15a27
tree27535152d064b0547e115029c79004e1278b076e
parentd685092aa1f6bfe153dbebfa0d0ce259b014e6fb
staging: comedi: remove check for CONFIG_KMOD

The comedi driver was added in v2.6.29. That's the same release that
removed the Kconfig symbol KMOD. So the code behind a test for its
macro has been hidden since it was in staging. Remove it.

Remove a useless assignment to "dev->in_request_module" too. That
variable seems pointless anyhow, but that's a different issue.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedi_fops.c