net: hns3: remove redundant assignment of l2_hdr to itself
authorColin Ian King <colin.king@canonical.com>
Wed, 8 May 2019 10:51:35 +0000 (11:51 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2019 16:44:37 +0000 (09:44 -0700)
commitc264ed44d857c50f43be08572668afa374bf6a48
treede0f0a4ac5baf8d3b7691213218155405b860a17
parentd6759172415ebd5daddb8d11f2d536a1235da063
net: hns3: remove redundant assignment of l2_hdr to itself

The pointer l2_hdr is being assigned to itself, this is redundant
and can be removed.

Addresses-Coverity: ("Evaluation order violation")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c