Re: [PATCH] qla4xxx: drop redundant init_completion

2017-04-06 Thread Martin K. Petersen
Nicholas Mc Guire writes: > The redundant init_completion() here seems to be a cut error as > struct scsi_qla_host only has 4 completion elements to initialize, > thus the duplicate init_completion(disable_acb_comp) is simply > removed. Applied to 4.12/scsi-queue. -- Martin

Re: [PATCH] qla4xxx: drop redundant init_completion

2017-04-06 Thread Martin K. Petersen
Nicholas Mc Guire writes: > The redundant init_completion() here seems to be a cut error as > struct scsi_qla_host only has 4 completion elements to initialize, > thus the duplicate init_completion(disable_acb_comp) is simply > removed. Applied to 4.12/scsi-queue. -- Martin K. Petersen

[PATCH] qla4xxx: drop redundant init_completion

2017-03-22 Thread Nicholas Mc Guire
The redundant init_completion() here seems to be a cut error as struct scsi_qla_host only has 4 completion elements to initialize, thus the duplicate init_completion(disable_acb_comp) is simply removed. Signed-off-by: Nicholas Mc Guire --- Found by experimental coccinelle

[PATCH] qla4xxx: drop redundant init_completion

2017-03-22 Thread Nicholas Mc Guire
The redundant init_completion() here seems to be a cut error as struct scsi_qla_host only has 4 completion elements to initialize, thus the duplicate init_completion(disable_acb_comp) is simply removed. Signed-off-by: Nicholas Mc Guire --- Found by experimental coccinelle script: