aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>2021-01-19 16:07:57 +0100
committerJakub Kicinski <kuba@kernel.org>2021-01-21 12:19:56 -0800
commitb29fafd3570b21c484e08e949bc868bfc12f0df1 (patch)
tree02db818109d9b301bfd27cc8b655b2ad57ea5ca2 /include/soc
parentethernet: ucc_geth: don't statically allocate eight ucc_geth_info (diff)
downloadlinux-dev-b29fafd3570b21c484e08e949bc868bfc12f0df1.tar.xz
linux-dev-b29fafd3570b21c484e08e949bc868bfc12f0df1.zip
ethernet: ucc_geth: use UCC_GETH_{RX,TX}_BD_RING_ALIGNMENT macros directly
These macros both have the value 32, there's no point first initializing align to a lower value. If anything, one could throw in a BUILD_BUG_ON(UCC_GETH_TX_BD_RING_ALIGNMENT < 4), but it's not worth it - lots of code depends on named constants having sensible values. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/soc')
0 files changed, 0 insertions, 0 deletions