Re: [PATCH][next] net/sched: cbs: remove redundant assignment to variable port_rate

From: David Miller
Date: Thu Sep 05 2019 - 03:37:25 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 2 Sep 2019 19:26:37 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Variable port_rate is being initialized with a value that is never read
> and is being re-assigned a little later on. The assignment is redundant
> and hence can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied.