[ldv-project] [PATCH 1/3] staging: dgap: remove unneeded status variables

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Mar 7 02:18:06 MSK 2014


On Mon, Mar 03, 2014 at 01:08:06AM +0400, Alexey Khoroshilov wrote:
> 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.
> 
> Signed-off-by: Alexey Khoroshilov <khoroshilov at ispras.ru>
> ---
>  drivers/staging/dgap/dgap.c | 97 ++++++++++++++++++++-------------------------
>  1 file changed, 42 insertions(+), 55 deletions(-)

Due to other recent changes in this driver, none of these patches apply
anymore :(

Can you please redo them against my latest tree so that I can apply
them?

thanks,

greg k-h



More information about the ldv-project mailing list