RDMA/i40iw: fix duplicated code for different branches
Refactor code to avoid identical code for different branches. Addresses-Coverity-ID: 1357356 Reviewed-by: NYuval Shaia <yuval.shaia@oracle.com> Signed-off-by: NGustavo A. R. Silva <garsilva@embeddedor.com> Acked-by: NShiraz Saleem <shiraz.saleem@intel.com> Signed-off-by: NDoug Ledford <dledford@redhat.com>
Showing
想要评论请 注册 或 登录