Re: [PATCH] Bluetooth: remove redundant zero check on count
From: Marcel Holtmann
Date: Mon Feb 18 2019 - 05:48:22 EST
Hi Colin,
> Variable count is never zero inside the loop so the check if count is
> zero is redundant and can be removed. Fix this.
>
> Detected by CoverityScan, CID#1466880 ("Logically dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/bluetooth/h4_recv.h | 3 ---
> 1 file changed, 3 deletions(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel