linux/drivers/staging/dgnc
Konrad Zapalowicz ed7f92da59 staging: dgnc: Remove unnecessary dgnc_Major_Control_Registered variable
The dgnc_Major_Control_Registered variable purpose was to act as a flag
to indicate if the character device has been successfully registered
into the kernel. This flag was later checked in the module cleanup
function to know if the character device needs to be deregistered.

However the {device,class}_destroy and unregister_chrdev functions may
be called with 'invalid' data perfectly fine. This means that this
variable is not needed and can safely be removed which is what this
commit does.

Signed-off-by: Konrad Zapalowicz <bergo.torino@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-08-17 09:52:25 -07:00
..
dgnc_cls.c staging: dgnc: Remove unnecessary 'return' statement 2014-08-16 12:23:14 -07:00
dgnc_cls.h staging: dgnc: UART_IIR_XOFF code is buggy 2014-05-15 13:46:00 -07:00
dgnc_driver.c staging: dgnc: Remove unnecessary dgnc_Major_Control_Registered variable 2014-08-17 09:52:25 -07:00
dgnc_driver.h staging: dgnc: Remove driver-wide polling counter variable 2014-08-17 09:52:24 -07:00
dgnc_kcompat.h staging: dgnc: Remove KERNEL_VERSION check 2013-09-30 18:47:00 -07:00
dgnc_mgmt.c Staging: dgnc: fix indentation in dgnc_mgmt.c 2014-03-13 16:17:59 -07:00
dgnc_mgmt.h staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals 2013-08-20 16:28:40 -07:00
dgnc_neo.c staging: dgnc: Remove 'volatile' modifier where it is not needed 2014-08-16 12:23:14 -07:00
dgnc_neo.h staging: dgnc: Fix typo in staging/dgnc 2013-09-17 07:47:46 -07:00
dgnc_pci.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_sysfs.c staging: dgnc: Remove driver-wide polling counter variable 2014-08-17 09:52:24 -07:00
dgnc_sysfs.h staging: dgnc: renames board_t to dgnc_board 2013-09-17 07:47:43 -07:00
dgnc_tty.c staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
dgnc_tty.h staging: dgnc: renames board_t to dgnc_board 2013-09-17 07:47:43 -07:00
dgnc_types.h
dgnc_utils.c staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
dgnc_utils.h staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
digi.h staging: dgnc: remove commented code 2014-07-27 11:39:45 -07:00
dpacompat.h staging: dgnc: dpacompat.h: removes trailing whitespace 2013-08-21 09:44:05 -07:00
Kconfig staging: dgnc: Kconfig: add dependency PCI for it 2013-08-26 06:29:09 -07:00
Makefile staging: dgnc: Move utility functions out of dgnc_driver.c 2014-08-16 12:23:13 -07:00
TODO staging: dgnc: Update the TODO file 2014-08-16 12:23:14 -07:00