diff options
author | Dean Luick <dean.luick@cornelisnetworks.com> | 2023-01-09 14:04:08 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-03 11:52:21 +0100 |
commit | ce77f44cb9ad1b30af68f7ff0f4421df4a5d6dbc (patch) | |
tree | bc54f054c67a554a14d72b899d50879b341509d9 /net/bridge/br_stp.c | |
parent | d06e776698adf02ea23463568e4952a303eeb5f2 (diff) | |
download | linux-riscv-ce77f44cb9ad1b30af68f7ff0f4421df4a5d6dbc.tar.gz linux-riscv-ce77f44cb9ad1b30af68f7ff0f4421df4a5d6dbc.tar.bz2 linux-riscv-ce77f44cb9ad1b30af68f7ff0f4421df4a5d6dbc.zip |
IB/hfi1: Assign npages earlier
[ Upstream commit f9c47b2caa7ffc903ec950b454b59c209afe3182 ]
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>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/bridge/br_stp.c')
0 files changed, 0 insertions, 0 deletions