]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: ucc_geth: remove bd_mem_part and all associated code
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 19 Jan 2021 15:07:58 +0000 (16:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 20:19:56 +0000 (12:19 -0800)
commit7aa24b08cc9145e19fbc1362ace95061664b3269
tree9f489bbfedc042130c17ad112665fdbf778445f7
parentc46ee2c7211f9048ffac09ebc127b46db945f17f
ethernet: ucc_geth: remove bd_mem_part and all associated code

The bd_mem_part member of ucc_geth_info always has the value
MEM_PART_SYSTEM, and AFAICT, there has never been any code setting it
to any other value. Moreover, muram is a somewhat precious resource,
so there's no point using that when normal memory serves just as well.

Apart from removing a lot of dead code, this is also motivated by
wanting to clean up the "store result from kmalloc() in a u32" mess.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/ucc_geth.c
include/soc/fsl/qe/qe.h
include/soc/fsl/qe/ucc_fast.h