]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2b439b805d9df9d228e6b60b547a448c073602af
tree161691553083e3f5144b9b782df3bf784b907d70
parent50087321502e33278a123b9d678eac1e5a9e7a49
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