From: dingtianhong Date: Thu, 26 Dec 2013 11:40:18 +0000 (+0800) Subject: net: freescale: remove unused compare_addr() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40803a2450ef124a6f703b1387fd14080c85e121;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git net: freescale: remove unused compare_addr() The function did not be used any more, so remove it. Cc: Li Yang Cc: netdev@vger.kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Ding Tianhong Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 5548b6d00c31..72291a8904a9 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c @@ -435,11 +435,6 @@ static void hw_add_addr_in_hash(struct ucc_geth_private *ugeth, QE_CR_PROTOCOL_ETHERNET, 0); } -static inline int compare_addr(u8 **addr1, u8 **addr2) -{ - return memcmp(addr1, addr2, ETH_ALEN); -} - #ifdef DEBUG static void get_statistics(struct ucc_geth_private *ugeth, struct ucc_geth_tx_firmware_statistics *