]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: openvswitch: use netif_ovs_is_port() instead of opencode
authorTaehee Yoo <ap420073@gmail.com>
Fri, 5 Jul 2019 16:05:46 +0000 (01:05 +0900)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jul 2019 22:53:25 +0000 (15:53 -0700)
commit44e3725943b706d3625ad91b1a1069a18fd0775c
tree488738b885a53c51e1cb21ab57207d1959240e32
parentf714ecc9cf16a63066badbc85bfbfff9af85a8b7
net: openvswitch: use netif_ovs_is_port() instead of opencode

Use netif_ovs_is_port() function instead of open code.
This patch doesn't change logic.

Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/dp_notify.c
net/openvswitch/vport-netdev.c