summaryrefslogtreecommitdiff
path: root/include/linux/pps_kernel.h
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2014-03-09 01:01:33 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-08 22:44:35 -0800
commitaf07daa0af2099d7144bb55cbb9d4758d8578a23 (patch)
tree219fb365090a7062e5d1d3b750bfede1ca73a454 /include/linux/pps_kernel.h
parent61a0bc0f1fd235cb0af8413432beb5fed8101ad1 (diff)
staging: dgap: remove unneeded status variables
dgap_driver_start and dgap_Major_Control_Registered are used to keep status of initialization of the driver as a whole and its "Major Control". But the code that checks them is executed once on module init/unload. That makes no sense in these variables as far as their values are predictable at any time. Also "dgap_downld" device was removed, while device_destroy(MKDEV(DIGI_DGAP_MAJOR, 1)) is still in dgap_cleanup_module(). The patch removes it by the way. Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/pps_kernel.h')
0 files changed, 0 insertions, 0 deletions