Re: [PATCHv1] net-next: treewide use is_vlan_dev() helper function.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 5, 2017 at 4:00 AM, Parav Pandit <parav@xxxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxx>
> Reviewed-by: Daniel Jurgens <danielj@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/cma.c                        |  6 ++----
>  drivers/infiniband/sw/rxe/rxe_net.c                  |  2 +-
>  drivers/net/ethernet/broadcom/cnic.c                 |  2 +-
>  drivers/net/ethernet/chelsio/cxgb3/l2t.c             |  2 +-
>  drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c      |  4 ++--
>  drivers/net/ethernet/chelsio/cxgb4/l2t.c             |  2 +-
>  drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c |  8 ++++----
>  drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c     |  4 ++--
>  drivers/net/hyperv/netvsc_drv.c                      |  2 +-
>  drivers/scsi/bnx2fc/bnx2fc_fcoe.c                    |  6 +++---
>  drivers/scsi/cxgbi/libcxgbi.c                        |  6 +++---
>  drivers/scsi/fcoe/fcoe.c                             | 13 ++++++-------
>  include/rdma/ib_addr.h                               |  6 ++----
>  net/hsr/hsr_slave.c                                  |  3 ++-
>  14 files changed, 31 insertions(+), 35 deletions(-)
>

Neatens the code up nicely.

Acked-by: Jon Maxwell <jmaxwell37@xxxxxxxxx>
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux