]> git.baikalelectronics.ru Git - kernel.git/commit
ethernet: ucc_geth: remove unnecessary memset_io() calls
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 19 Jan 2021 15:07:51 +0000 (16:07 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 21 Jan 2021 20:19:55 +0000 (12:19 -0800)
commit4de98ec7d78294147e5d6407451df20981d7c38f
tree4d3fd43eb4082fff7e5835a2b3c227562990b4a9
parent4405186a8b3d16a458ed94c65fe108382e629ed2
ethernet: ucc_geth: remove unnecessary memset_io() calls

These buffers have all just been handed out from qe_muram_alloc(), aka
cpm_muram_alloc(), and the helper cpm_muram_alloc_common() already
does

        memset_io(cpm_muram_addr(start), 0, size);

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