Re: [PATCH] rtlwifi: btcoex: 23b 1ant: fix duplicated code for different branches

From: Gustavo A. R. Silva
Date: Wed Aug 30 2017 - 12:51:34 EST


Hi Larry,

On 08/30/2017 11:37 AM, Larry Finger wrote:
On 08/30/2017 08:42 AM, Gustavo A. R. Silva wrote:
Refactor code in order to avoid identical code for different branches.

This issue was detected with the help of Coccinelle.

Addresses-Coverity-ID: 1226788
Signed-off-by: Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx>
---
This issue was reported by Coverity and it was tested by compilation
only.
I'm suspicious this may be a copy/paste error. Please, verify.

I have referred this change to the engineers at Realtek. For the moment,
please hold this patch.

Thanks for reporting the condition.


Glad to help. :)

--
Gustavo A. R. Silva