diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-11-01 11:17:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-02 07:53:14 +0100 |
commit | ad88d35a6216c54a005480d2693ed0a888ac1b7c (patch) | |
tree | e5083d180ac79783ec5ba4bf74116d8de9f839ba /scripts/extract-ikconfig | |
parent | liquidio: remove redundant setting of inst_processed to zero (diff) | |
download | linux-ad88d35a6216c54a005480d2693ed0a888ac1b7c.tar.xz linux-ad88d35a6216c54a005480d2693ed0a888ac1b7c.zip |
net: hns3: remove a couple of redundant assignments
The assignment to kinfo is redundant as this is a duplicate of
the initialiation of kinfo a few lines earlier, so it can be
removed. The assignment to v_tc_info is never read, so this
variable is redundant and can be removed completely. Cleans
up two clang warnings:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c:433:34:
warning: Value stored to 'kinfo' during its initialization is never read
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c:775:3:
warning: Value stored to 'v_tc_info' is never read
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/extract-ikconfig')
0 files changed, 0 insertions, 0 deletions