[Linuxarm] [PATCH] RDMA/ucma: Cleanup of reducing duplicate code