[PATCHv2 0/3] Use net_type to check network type

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

 



From: Zhu Yanjun <yanjun.zhu@xxxxxxxxx>

The member variable net_type already exists. Now it is used
to check network type. As such, the variable saddr is redundant.
So it is removed.

The union irdma_sockaddr is used in several functions. So it is
moved into header file.

Zhu Yanjun (3):
  RDMA/irdma: Use net_type to check network type
  RDMA/irdma: Remove the unnecessary variable saddr
  RDMA/irdma: Move union irdma_sockaddr to header file

 drivers/infiniband/hw/irdma/verbs.c | 26 ++++++--------------------
 drivers/infiniband/hw/irdma/verbs.h | 12 +++++++-----
 2 files changed, 13 insertions(+), 25 deletions(-)

--
V1-->V2: Modify the commit log.
-- 
2.27.0




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux