Re: [PATCH][next] net: hns3: remove redundant assignment to pointer reg_info

From: David Miller
Date: Sun Sep 01 2019 - 15:12:42 EST

From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Sat, 31 Aug 2019 08:29:49 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> Pointer reg_info 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>