commit | 136bcd8425b84ce81bbcf0f4cbefa6735b122d03 | [log] [tgz] |
---|---|---|
author | Matteo Croce <mcroce@microsoft.com> | Thu Jul 02 16:12:40 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Fri Jul 03 14:46:24 2020 -0700 |
tree | 4e2afaa28a4ec8d36e901cf672a6efc9b2ff71ff | |
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>