RDMA/irdma: Remove the unnecessary variable saddr
authorZhu Yanjun <yanjun.zhu@linux.dev>
Wed, 23 Feb 2022 02:42:51 +0000 (21:42 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Feb 2022 00:38:56 +0000 (20:38 -0400)
commit8627da62cc3b9de4d299f2558a9f16b4c3c13a5d
treed2cc7d821937063db8ce137b859a90540cf8e5d7
parent80005c43d4c8f486fe594d89e640b3d24d6b3f4c
RDMA/irdma: Remove the unnecessary variable saddr

Firstly the variable saddr was to check the type of a network. Now the
variable net_type is used to do the same work. So it is removed.

Link: https://lore.kernel.org/r/20220223024252.3873736-3-yanjun.zhu@linux.dev
Signed-off-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/irdma/verbs.c
drivers/infiniband/hw/irdma/verbs.h