Re: [PATCH][V2] arcnet: capmode: remove redundant assignment to pointer pkt

From: David Miller
Date: Fri Aug 30 2019 - 17:15:11 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Thu, 29 Aug 2019 00:14:50 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Pointer pkt is being initialized with a value that is never read
> and pkt is being re-assigned a little later on. The assignment is
> redundant and hence can be removed.
>
> Addresses-Coverity: ("Ununsed value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
>
> V2: fix typo in patch description, pkg -> pkt

Applied to net-next.