OSDN Git Service

net: hns3: remove redundant initialization of pointer 'client'
authorColin Ian King <colin.king@canonical.com>
Mon, 24 Feb 2020 19:20:22 +0000 (19:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 19:21:19 +0000 (11:21 -0800)
commit31a57fded31176bc3e67bc122e70536cbb02b47a
tree161691553083e3f5144b9b782df3bf784b907d70
parentf2ce925a7d63f9209249620dabe099f10a5cb38c
net: hns3: remove redundant initialization of pointer 'client'

The pointer 'client' is being initialized with a value that is never
read, it is being updated later on. The initialization is redundant
and can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c