hns3pf: fix hns3_del_tunnel_port()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 10 Aug 2017 09:54:59 +0000 (12:54 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Aug 2017 21:31:59 +0000 (14:31 -0700)
commit9537e7cbf20787416b25833f2f9886166d8148f2
treef381bef1422120f5db8e652ed306b082a0649f17
parent0dd532eb27490e7f72ab32f6571d919ff6c84744
hns3pf: fix hns3_del_tunnel_port()

This function has a copy and paste bug so it accidentally calls the add
function instead of the delete function.

Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hns3_enet.c