diff options
author | Dean Luick <dean.luick@cornelisnetworks.com> | 2023-01-09 20:04:08 +0100 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-01-10 11:52:35 +0100 |
commit | a479433a6b7a2b0f21da3071d6a9afb66bfd5887 (patch) | |
tree | a5399b8619ed58d8382534fbe7d0759c1bcc82be /drivers/vfio | |
parent | IB/hfi1: Remove redundant pageidx variable (diff) | |
download | linux-a479433a6b7a2b0f21da3071d6a9afb66bfd5887.tar.xz linux-a479433a6b7a2b0f21da3071d6a9afb66bfd5887.zip |
IB/hfi1: Assign npages earlier
Improve code clarity and enable earlier use of
tidbuf->npages by moving its assignment to
structure creation time.
Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://lore.kernel.org/r/167329104884.1472990.4639750192433251493.stgit@awfm-02.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions