octeontx2-af: Remove redundant functions rvu_npc_exact_mac2u64()
authorLi Zetao <lizetao1@huawei.com>
Tue, 8 Aug 2023 11:45:04 +0000 (19:45 +0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 9 Aug 2023 22:29:44 +0000 (15:29 -0700)
commit47f8dc0938e95fc98bd1a61d49717c892eb5f9f7
treec256c82cc8c69420dc6ca90ec0be7f5e75a99717
parente62c7adfd4acc394c448870ba63d4315e7a662f6
octeontx2-af: Remove redundant functions rvu_npc_exact_mac2u64()

The rvu_npc_exact_mac2u64() is used to convert an Ethernet MAC address
into a u64 value, as this is exactly what ether_addr_to_u64() does.
Use ether_addr_to_u64() to replace the rvu_npc_exact_mac2u64().

Signed-off-by: Li Zetao <lizetao1@huawei.com>
Acked-by: Geethasowjanya Akula <gakula@marvell.com>
Link: https://lore.kernel.org/r/20230808114504.4036008-4-lizetao1@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c