diff options
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | 2019-01-24 04:08:19 +0100 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-01-30 20:22:32 +0100 |
commit | 87fc34b575fdb90994c6063541d79cd18b31b14d (patch) | |
tree | 6342aba95b4ca52e658f75b1c46a3114c2b6d67a /drivers/char/tpm | |
parent | IB/ipoib: Make ipoib_intercept_dev_id_attr() static (diff) | |
download | linux-87fc34b575fdb90994c6063541d79cd18b31b14d.tar.xz linux-87fc34b575fdb90994c6063541d79cd18b31b14d.zip |
IB/{hfi1,qib}: Cleanup open coded sge sizing
Sge sizing is done in several places using an open coded method.
This can cause maintenance issues. The open coded method is
encapsulated in a helper routine. The helper was introduced with
commit:
1198fcea8a78 ("IB/hfi1, rdmavt: Move SGE state helper routines into
rdmavt")
Update all call sites that have the open coded path with the helper
routine.
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/char/tpm')
0 files changed, 0 insertions, 0 deletions