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

Timur Tabi timur at kernel.org
Sat Dec 21 01:20:24 AEDT 2019


On 12/19/19 6:10 PM, Colin King wrote:
> From: Colin Ian King<colin.king at canonical.com>
> 
> 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 at canonical.com>

Acked-by: Timur Tabi <timur at kernel.org>

Looks like this bug has been there since day 1.


More information about the Linuxppc-dev mailing list