diff options
author | Matteo Croce <mcroce@microsoft.com> | 2020-07-02 16:12:40 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-03 14:46:24 -0700 |
commit | 136bcd8425b84ce81bbcf0f4cbefa6735b122d03 (patch) | |
tree | 4e2afaa28a4ec8d36e901cf672a6efc9b2ff71ff /drivers/net/ethernet/marvell/Kconfig | |
parent | b0d754ef35041f921a1a03319b570fdfac9a027e (diff) |
mvpp2: refactor BM pool init percpu code
In mvpp2_swf_bm_pool_init_percpu(), a reference to a struct
mvpp2_bm_pool is obtained traversing multiple structs, when a
local variable already points to the same object.
Fix it and, while at it, give the variable a meaningful name.
Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/Kconfig')
0 files changed, 0 insertions, 0 deletions