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

From: Sergei Shtylyov
Date: Wed Aug 28 2019 - 05:14:45 EST


On 27.08.2019 14:29, Colin King wrote:

From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Pointer pkt is being initialized with a value that is never read
and pkg is being re-assigned a little later on. The assignment is
^^^ pkt

redundant and hence can be removed.

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

MBR, Sergei