summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-01-19 18:07:53 +0300
committerJakub Kicinski <kuba@kernel.org>2021-01-21 23:19:55 +0300
commit7d9fe90036f75a766dce76df997d4067e22b93c6 (patch)
treebfad1293fe2b2874f9af87d46c422dc4e4f68429 /tools/perf/scripts/python/mem-phys-addr.py
parent830c8ddc66df5074075933a172b6698acbadbc7a (diff)
downloadlinux-7d9fe90036f75a766dce76df997d4067e22b93c6.tar.xz
ethernet: ucc_geth: remove {rx,tx}_glbl_pram_offset from struct ucc_geth_private
These fields are only used within ucc_geth_startup(), so they might as well be local variables in that function rather than being stashed in struct ucc_geth_private. Aside from making that struct a tiny bit smaller, it also shortens some lines (getting rid of pointless casts while here), and fixes the problems with using IS_ERR_VALUE() on a u32 as explained in commit 800cd6fb76f0 ("soc: fsl: qe: change return type of cpm_muram_alloc() to s32"). Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions