[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e22aebb2-0961-459c-bc02-3165c364115b@stanley.mountain>
Date: Wed, 16 Oct 2024 17:42:06 +0300
From: Dan Carpenter <dan.carpenter@...aro.org>
To: "Everest K.C." <everestkc@...restkc.com.np>
Cc: marcel@...tmann.org, luiz.dentz@...il.com, skhan@...uxfoundation.org,
kernel-janitors@...r.kernel.org, linux-bluetooth@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH V4][next] Bluetooth: btintel_pcie: Remove structrually
deadcode
On Tue, Oct 15, 2024 at 05:22:05PM -0600, Everest K.C. wrote:
> The switch case statement has a default branch. Thus, the return
> statement at the end of the function can never be reached.
> Fix it by removing the return statement at the end of the
> function.
>
> This issue was reported by Coverity Scan.
>
> Fixes: 5ea625845b0f ("Bluetooth: btintel_pcie: Add handshake between driver and firmware")
> Signed-off-by: Everest K.C. <everestkc@...restkc.com.np>
> Reviewed-by: Shuah Khan <skhan@...uxfoundation.org>
> ---
> V3 -> V4: - Fixed typo in the subject
I don't like to be the typo police but, no, you didn't fix the typo. :P
regards,
dan carpenter
Powered by blists - more mailing lists