]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: ucc_geth: use qe_muram_free_addr()
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 19 Jan 2021 15:07:50 +0000 (16:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 20:19:55 +0000 (12:19 -0800)
commit4405186a8b3d16a458ed94c65fe108382e629ed2
tree89c6fe1918e31a5ef2dcd942b6dd4e2eccb6af69
parent73ed0b2003aea3c2ab3a6bb83be207bfa1a9b229
ethernet: ucc_geth: use qe_muram_free_addr()

This removes the explicit NULL checks, and allows us to stop storing
at least some of the _offset values separately.

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