]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
sfc: cleanup a condition in efx_udp_tunnel_del()
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 22 Mar 2017 09:10:02 +0000 (12:10 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Mar 2017 02:25:02 +0000 (19:25 -0700)
commitc04ca616eed02b9abe7afd311382c3ed5eef5c40
treec02e284962c42da460ba2e29386e8dbbf2688575
parent6e9e6cc8f4e4f2cd67931510c9f39abf3d9e0d3b
sfc: cleanup a condition in efx_udp_tunnel_del()

Presumably if there is an "add" function, there is also a "del"
function.  But it causes a static checker warning because it looks like
a common cut and paste bug.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/efx.c