]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/i40iw: fix duplicated code for different branches
authorGustavo A. R. Silva <garsilva@embeddedor.com>
Thu, 18 May 2017 18:11:17 +0000 (13:11 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:00:29 +0000 (17:00 -0400)
commit24ce39564b303a40064f19040562defc02fdf441
tree2794e8eb83f293f19a1b32e4b8940e94cc9a053f
parent274bc548a911e26df18587f141e6091808c57b1d
RDMA/i40iw: fix duplicated code for different branches

Refactor code to avoid identical code for different branches.

Addresses-Coverity-ID: 1357356
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Acked-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/i40iw/i40iw_virtchnl.c