From: Alexey Khoroshilov Date: Sat, 8 Mar 2014 21:01:33 +0000 (+0400) Subject: staging: dgap: remove unneeded status variables X-Git-Tag: v3.15-rc1~139^2~470 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af07daa0af2099d7144bb55cbb9d4758d8578a23;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed