Re: [PATCH] serial: ucc_uart: remove redundant assignment to pointer bdp

From: Timur Tabi
Date: Fri Dec 20 2019 - 09:20:31 EST


On 12/19/19 6:10 PM, Colin King wrote:
From: Colin Ian King<colin.king@xxxxxxxxxxxxx>

The variable bdp is being initialized with a value that is never
read and it is being updated later with a new value. The initialization
is redundant and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King<colin.king@xxxxxxxxxxxxx>

Acked-by: Timur Tabi <timur@xxxxxxxxxx>

Looks like this bug has been there since day 1.