net-next: treewide use is_vlan_dev() helper function.
authorParav Pandit <parav@mellanox.com>
Sat, 4 Feb 2017 17:00:49 +0000 (11:00 -0600)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 21:33:29 +0000 (16:33 -0500)
commitd0d7b10b05945f40fefd4e60f457c61aefa3e9a9
tree1904a8455fc02954af05242261ee36feb1e45d1d
parent73cfb2a2e49e166c569360ee60fe023b3efe3cf6
net-next: treewide use is_vlan_dev() helper function.

This patch makes use of is_vlan_dev() function instead of flag
comparison which is exactly done by is_vlan_dev() helper function.

Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Daniel Jurgens <danielj@mellanox.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Jon Maxwell <jmaxwell37@gmail.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
drivers/infiniband/core/cma.c
drivers/infiniband/sw/rxe/rxe_net.c
drivers/net/ethernet/broadcom/cnic.c
drivers/net/ethernet/chelsio/cxgb3/l2t.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/l2t.c
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/hyperv/netvsc_drv.c
drivers/scsi/bnx2fc/bnx2fc_fcoe.c
drivers/scsi/cxgbi/libcxgbi.c
drivers/scsi/fcoe/fcoe.c
include/rdma/ib_addr.h
net/hsr/hsr_slave.c