]> git.baikalelectronics.ru Git - kernel.git/commit
i40iw: Remove extra call to i40iw_est_sd()
authorShiraz Saleem <shiraz.saleem@intel.com>
Fri, 12 Jan 2018 00:10:50 +0000 (18:10 -0600)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 17 Jan 2018 03:38:18 +0000 (20:38 -0700)
commit0cfebfd547556da28cee415bbc0f1e5979dfa0cd
tree5a50063974e422077be9cdf24e5c43df7eb1a1a6
parent9ee2f1ba3ba72b8324cf6d4078c0d1e8ae06462d
i40iw: Remove extra call to i40iw_est_sd()

Remove redundant estimate SD function call.  sd_needed should already be
updated at the end of the do while resource reduction loop.

Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/i40iw/i40iw_ctrl.c